_currentPage(0)
{
setModal(true);
- setWindowFlags(Qt::Sheet);
setAttribute(Qt::WA_DeleteOnClose, true);
ui.setupUi(this);
connect(ui.settingsTree, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelected()));
connect(ui.buttonBox, SIGNAL(clicked(QAbstractButton *)), this, SLOT(buttonClicked(QAbstractButton *)));
+
+ setButtonStates();
}
void SettingsDlg::registerSettingsPage(SettingsPage *sp) {