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

This commit is contained in:
Joseph Donofry 2019-09-01 18:12:01 -04:00
parent 219b5b31e5
commit 74e2b0725d
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -77,7 +77,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();
} }