diff --git a/src/core/appsupport.cpp b/src/core/appsupport.cpp index 65bacd2e4..a24cf9f75 100644 --- a/src/core/appsupport.cpp +++ b/src/core/appsupport.cpp @@ -452,8 +452,8 @@ QPair AppSupport::getFpsPresetStatus() QPair status; QSettings settings; settings.beginGroup("presets"); - status.first = settings.value("EnableFPS").toBool(); - status.second = settings.value("EnableFPSAuto").toBool(); + status.first = settings.value("EnableFPS", true).toBool(); + status.second = settings.value("EnableFPSAuto", true).toBool(); settings.endGroup(); return status; } @@ -537,8 +537,8 @@ QPair AppSupport::getResolutionPresetStatus() QPair status; QSettings settings; settings.beginGroup("presets"); - status.first = settings.value("EnableResolutions").toBool(); - status.second = settings.value("EnableResolutionsAuto").toBool(); + status.first = settings.value("EnableResolutions", true).toBool(); + status.second = settings.value("EnableResolutionsAuto", true).toBool(); settings.endGroup(); return status; }