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 98d4f14bd1
commit 66641339b3
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

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