Changed: Move windows and dialog to foreground, see #279

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-21 09:55:49 +02:00
parent af26339d00
commit 4acc2afd3a
4 changed files with 8 additions and 0 deletions

View file

@ -79,6 +79,8 @@ CInstallDialog::CInstallDialog():QDialog()
onShowAdvancedParameters(Qt::Unchecked); onShowAdvancedParameters(Qt::Unchecked);
connect(advancedCheckBox, SIGNAL(stateChanged(int)), SLOT(onShowAdvancedParameters(int))); connect(advancedCheckBox, SIGNAL(stateChanged(int)), SLOT(onShowAdvancedParameters(int)));
raise();
} }
CInstallDialog::~CInstallDialog() CInstallDialog::~CInstallDialog()

View file

@ -68,6 +68,8 @@ CMainWindow::CMainWindow():QMainWindow()
updateProfiles(); updateProfiles();
updateButtons(); updateButtons();
raise();
} }
CMainWindow::~CMainWindow() CMainWindow::~CMainWindow()

View file

@ -76,6 +76,8 @@ CMigrateDialog::CMigrateDialog():QDialog()
onShowAdvancedParameters(Qt::Unchecked); onShowAdvancedParameters(Qt::Unchecked);
connect(advancedCheckBox, SIGNAL(stateChanged(int)), SLOT(onShowAdvancedParameters(int))); connect(advancedCheckBox, SIGNAL(stateChanged(int)), SLOT(onShowAdvancedParameters(int)));
raise();
} }
CMigrateDialog::~CMigrateDialog() CMigrateDialog::~CMigrateDialog()

View file

@ -72,6 +72,8 @@ COperationDialog::COperationDialog(QWidget *parent):QDialog(parent), m_aborting(
connect(this, SIGNAL(done()), SLOT(onDone())); connect(this, SIGNAL(done()), SLOT(onDone()));
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
raise();
} }
COperationDialog::~COperationDialog() COperationDialog::~COperationDialog()