//connect signals and slots
connect(ui->actionHelp, SIGNAL(triggered()), this, SLOT(showHelp()));
connect( ui->actionAbout, SIGNAL(triggered()), this, SLOT(about()) );
- connect( ui->freq_adjust, SIGNAL(valueChanged(int)), this, SLOT(adjustFreq()) );
+ connect( ui->freq_adjust, SIGNAL(sliderReleased()), this, SLOT(adjustFreq()) );
connect(QApplication::desktop(), SIGNAL(resized(int)), this, SLOT(orientationChanged()));
connect(ui->sr_box, SIGNAL(clicked()), this, SLOT(setSmartReflex()));
connect(&refreshTimer, SIGNAL(timeout()), this, SLOT(refresh()));
if (settings->useConfirmation()) {
QMessageBox box;
+ box.setAttribute(Qt::WA_Maemo5AutoOrientation, settings->useAutoRotate());
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) );
+ box.setText( tr("Do you really want to use %1 MHz as the new maximum frequency?").arg(verboseMax) );
int ret = box.exec();
if (ret != QMessageBox::Apply) {