Changed: Move windows and dialog to foreground, see #279
This commit is contained in:
parent
6f1c516faa
commit
682a74618b
4 changed files with 8 additions and 0 deletions
|
@ -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()
|
||||||
|
|
|
@ -68,6 +68,8 @@ CMainWindow::CMainWindow():QMainWindow()
|
||||||
|
|
||||||
updateProfiles();
|
updateProfiles();
|
||||||
updateButtons();
|
updateButtons();
|
||||||
|
|
||||||
|
raise();
|
||||||
}
|
}
|
||||||
|
|
||||||
CMainWindow::~CMainWindow()
|
CMainWindow::~CMainWindow()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue