settings = new Settings;
settings->hide();
+ init();
+
//applies the settings from the settings dialog
applySettings();
- init();
- refresh();
-
//initialize orientation
orientationChanged();
}
#endif
+ //check for 599MHz <-> 600MHz problem on power kernels
+ if (max == "600000" && settings->usePowerKernel()) {
+ //we really need to set the maximum to 599MHz
+ max = "599000";
+ }
+
callHelper( "set_maxfreq", max );
refresh();
{
setAutoRotation();
setAdvancedTemperature();
+
+ //refresh the GUI after applying the settings
+ refresh();
}