Fix build failures with Qt 6
This commit is contained in:
@@ -234,7 +234,9 @@ VMManagerSystem::loadSettings()
|
||||
}
|
||||
// qInfo() << "Loaded "<< config_file.filePath() << "status:" << settings.status();
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
settings.setIniCodec("UTF-8");
|
||||
#endif
|
||||
// Clear out the config hash in case the config is reloaded
|
||||
for (const auto &outer_key : config_hash.keys()) {
|
||||
config_hash[outer_key].clear();
|
||||
|
||||
Reference in New Issue
Block a user