Minor refactoring: moved the Qt:Sheet window flag into the ConfigPage constructor.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@1881 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2012-06-29 05:21:39 +00:00
parent 4ce3c89e1d
commit 00affb107e
2 changed files with 6 additions and 3 deletions

View File

@@ -53,6 +53,12 @@ ConfigDialog::ConfigDialog(QWidget *parent) : QDialog(parent) {
connect(buttons, SIGNAL(accepted()), this, SLOT(applyConf()));
connect(buttons, SIGNAL(rejected()), this, SLOT(reject()));
connect(pages_list, SIGNAL(currentItemChanged(QListWidgetItem *, QListWidgetItem *)), this, SLOT(changePage(QListWidgetItem *, QListWidgetItem*)));
#ifdef Q_WS_MAC
if (parent) {
setWindowFlags(Qt::Sheet);
}
#endif
}
/// Destructeur