We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6747042 commit 263270bCopy full SHA for 263270b
1 file changed
src/options.cpp
@@ -92,17 +92,17 @@ void Options::setTheme(QString value)
92
config.setValue("theme", value);
93
}
94
95
-int Options::themeScalingFactor() const
+float Options::themeScalingFactor() const
96
{
97
- int value = config.value("theme_scaling_factor", "1").toInt();
98
- if (value <= 0)
+ float value = config.value("theme_scaling_factor", "1").toFloat();
+ if (value < 0.2)
99
100
value = 1;
101
102
return value;
103
104
105
-void Options::setThemeScalingFactor(int value)
+void Options::setThemeScalingFactor(float value)
106
107
config.setValue("theme_scaling_factor", value);
108
0 commit comments