Minor tweak to one instance of QSettings not necessarily using the same settings as everything else

remotes/origin/0.7.0-dev
Joseph Donofry 5 years ago
parent 98d4f14bd1
commit 66641339b3
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 2
      src/Utils.cpp

@ -63,7 +63,7 @@ utils::setScaleFactor(float factor)
float float
utils::scaleFactor() utils::scaleFactor()
{ {
QSettings settings("nheko", "nheko"); QSettings settings;
return settings.value("settings/scale_factor", -1).toFloat(); return settings.value("settings/scale_factor", -1).toFloat();
} }

Loading…
Cancel
Save