max = "599000";
}
- callHelper( "set_maxfreq", max );
+ if (settings->useConfirmation()) {
+ QMessageBox box;
+ box.setStandardButtons(QMessageBox::Apply | QMessageBox::Cancel);
+ box.setDefaultButton(QMessageBox::Apply);
+ box.setIcon(QMessageBox::Question);
+ box.setText(tr("The frequency changed."));
+ box.setInformativeText("Do you want to use ? as new default frequency?");
+ int ret = box.exec();
+
+ if (ret != QMessageBox::Apply) {
+ refresh();
+ return;
+ }
+ }
+ callHelper( "set_maxfreq", max );
refresh();
+
}