mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user