From df3832af2f2b3088ffe4b679972df4e7bdc23c40 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 21 Sep 2016 09:55:49 +0200 Subject: [PATCH] Changed: Move windows and dialog to foreground, see #279 --- code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp | 2 ++ code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp | 2 ++ code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp | 2 ++ code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp | 2 ++ 4 files changed, 8 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp index ca24277fd..fad255622 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/installdialog.cpp @@ -79,6 +79,8 @@ CInstallDialog::CInstallDialog():QDialog() onShowAdvancedParameters(Qt::Unchecked); connect(advancedCheckBox, SIGNAL(stateChanged(int)), SLOT(onShowAdvancedParameters(int))); + + raise(); } CInstallDialog::~CInstallDialog() diff --git a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp index daab29bb8..04c665197 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp @@ -68,6 +68,8 @@ CMainWindow::CMainWindow():QMainWindow() updateProfiles(); updateButtons(); + + raise(); } CMainWindow::~CMainWindow() diff --git a/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp index 5eb15eb4b..5f455c938 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/migratedialog.cpp @@ -76,6 +76,8 @@ CMigrateDialog::CMigrateDialog():QDialog() onShowAdvancedParameters(Qt::Unchecked); connect(advancedCheckBox, SIGNAL(stateChanged(int)), SLOT(onShowAdvancedParameters(int))); + + raise(); } CMigrateDialog::~CMigrateDialog() diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index 36ea6d6f2..81351736b 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -72,6 +72,8 @@ COperationDialog::COperationDialog(QWidget *parent):QDialog(parent), m_aborting( connect(this, SIGNAL(done()), SLOT(onDone())); setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); + + raise(); } COperationDialog::~COperationDialog()