void MainWindow::adjustFreq()
{
int newmax = getScalingFreq( ui->freq_adjust->sliderPosition() );
+
+ if (newmax == getMaxFreq() ) {
+ //we do not need to change anything in this case
+ return;
+ }
+
QString max;
//maxfreq should not be smaller than minfreq, because we do not want to decrease minfreq
if ( getSmartReflexState() == 1 )
callHelper( "set_sr", "off");
else {
- QMaemo5InformationBox::information(this, tr( "SmartReflex support is known to be unstable on some devices and may cause random reboots." ));
+ QMaemo5InformationBox::information(this, tr( "SmartReflex support is known to be unstable on some devices and may cause random reboots." ), 0);
callHelper( "set_sr", "on");
}