mirror of
https://github.com/PabloMK7/citra.git
synced 2025-12-15 03:38:47 +00:00
citra_qt: Migrate logging macros
Follow-up of #3533 Replace prefix of all logging macros from LOG to NGLOG
This commit is contained in:
parent
9283053701
commit
79b0e62455
4 changed files with 21 additions and 25 deletions
|
|
@ -340,7 +340,7 @@ 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.toStdString());
|
||||
search_field->setFilterResult(0, 0);
|
||||
return;
|
||||
}
|
||||
|
|
@ -390,7 +390,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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue