Shows the new maximum frequency in the confirmation dialog.
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?");
+ 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) {