verticalLayout->addWidget(searchInBookmarksCheckBox);
- connect(historySizeSpinBox, SIGNAL(editingFinished()), this,
+ connect(historySizeSpinBox, SIGNAL(valueChanged(int)), this,
SLOT(changed()));
- connect(searchResultSizeSpinBox, SIGNAL(editingFinished()), this,
+ connect(searchResultSizeSpinBox, SIGNAL(valueChanged(int)), this,
SLOT(changed()));
connect(searchInDictionariesCheckBox, SIGNAL(toggled(bool)), this,
SLOT(changed()));
setMinimumWidth(250);
setMaximumWidth(250);
footerLayout = new QHBoxLayout(this);
- closeButton = new QPushButton(tr("Ok"));
+ closeButton = new QPushButton(tr("Save"));
footerLayout->addStretch(0);
footerLayout->addWidget(closeButton);
verticalLayout->addLayout(footerLayout);
#ifndef Q_WS_MAEMO_5
_save = false;
#endif
- _changed = false;
settings = guiInterface->settings();
historySizeSpinBox->setValue(
else
searchInDictionariesCheckBox->setChecked(false);
+ _changed = false;
QDialog::showEvent(e);
}
delete settings;
settings = 0;
}
+ _changed = false;
}