Fix MacOS build and incorrect string format in language change log

This commit is contained in:
Adam Honse committed 2022-11-26 23:56:40 -06:00
1 parent 2e02f1d782
commit a7c2b7bd2c
1 file changed
+1 -1
+1 -1
View File
@@ -325,7 +325,7 @@ void OpenRGBSettingsPage::on_ComboBoxLanguage_currentTextChanged(const QString l
if(loaded)
{
app->installTranslator(&translator);
LOG_DEBUG("[Settings] Changed Language to %s from the %s file\n", language, file);
LOG_DEBUG("[Settings] Changed Language to %s from the %s file\n", language.toStdString().c_str(), file.toStdString().c_str());
json ui_settings = ResourceManager::get()->GetSettingsManager()->GetSettings("UserInterface");
std::string saved = ui_settings["language"].get<std::string>();