+ //check for 599MHz <-> 600MHz problem on power kernels
+ if (max == "600000" && settings->usePowerKernel()) {
+ //we really need to set the maximum to 599MHz
+ max = "599000";
+ }
+
+ if (settings->useConfirmation()) {
+ QMessageBox box;
+ box.setStandardButtons(QMessageBox::Apply | QMessageBox::Cancel);
+ box.setDefaultButton(QMessageBox::Apply);
+ box.setIcon(QMessageBox::Question);
+ box.setText(tr("You have requested to change the maximum frequency."));
+ QString verboseMax;
+ verboseMax.setNum( newmax/1000 );
+ box.setInformativeText( tr("Do you really want to use %1 MHz as the new maximum frequency?").arg(verboseMax) );
+ int ret = box.exec();
+
+ if (ret != QMessageBox::Apply) {
+ refresh();
+ return;
+ }
+ }
+