Cleanup SettingsDialog

Change-Id: Ibbbf7d507e28201c2e7e466ab24b39e9e0e44fb4
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-12-29 03:12:33 +01:00
parent e833b794b3
commit 1863bfebdb
3 changed files with 28 additions and 34 deletions

View File

@@ -965,7 +965,7 @@ bool MainWindow::showOptionsDialog(Id category, Id page, QWidget *parent)
emit m_coreImpl->optionsDialogRequested();
if (!parent)
parent = this;
SettingsDialog *dialog = SettingsDialog::getSettingsDialog(parent, category.toString(), page.toString());
SettingsDialog *dialog = SettingsDialog::getSettingsDialog(parent, category, page);
return dialog->execDialog();
}