diff options
| author | bunnei <bunneidev@gmail.com> | 2018-04-26 22:53:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-26 22:53:42 -0400 |
| commit | 4f120a9ec0ce7a20d7bb0dc60342c42a60ed8c43 (patch) | |
| tree | 588b3f4d379ae16461cb0a24d800f7cbc330d577 /src/yuzu/game_list.cpp | |
| parent | 18f8012233cda88aacf01c59f89abf3a687ab2c9 (diff) | |
| parent | 3062eb52f4b43c4ee861bd944291f1f9aba198df (diff) | |
Merge pull request #406 from lioncash/frontend
frontends: Move logging macros over to new fmt-capable ones
Diffstat (limited to 'src/yuzu/game_list.cpp')
| -rw-r--r-- | src/yuzu/game_list.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index 76ced4de4..bbd681eae 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -315,7 +315,8 @@ void GameList::PopupContextMenu(const QPoint& menu_location) { void GameList::PopulateAsync(const QString& dir_path, bool deep_scan) { if (!FileUtil::Exists(dir_path.toStdString()) || !FileUtil::IsDirectory(dir_path.toStdString())) { - LOG_ERROR(Frontend, "Could not find game list folder at %s", dir_path.toLocal8Bit().data()); + NGLOG_ERROR(Frontend, "Could not find game list folder at {}", + dir_path.toLocal8Bit().data()); search_field->setFilterResult(0, 0); return; } @@ -364,7 +365,7 @@ static bool HasSupportedFileExtension(const std::string& file_name) { void GameList::RefreshGameDirectory() { if (!UISettings::values.gamedir.isEmpty() && current_worker != nullptr) { - LOG_INFO(Frontend, "Change detected in the games directory. Reloading game list."); + NGLOG_INFO(Frontend, "Change detected in the games directory. Reloading game list."); search_field->clear(); PopulateAsync(UISettings::values.gamedir, UISettings::values.gamedir_deepscan); } |
