ui: fix about and licenses screen

esc now works for the about and license window
This commit is contained in:
Andreas Stallinger
2016-01-26 13:35:56 +01:00
parent ada00cc627
commit 91d655f397
4 changed files with 2 additions and 3 deletions
-1
View File
@@ -13,7 +13,6 @@
QtAbout::QtAbout(QWidget *parent)
: QtSettingsWindow(parent)
{
raise();
}
QSize QtAbout::sizeHint() const
@@ -14,7 +14,6 @@ QtApplicationSettingsScreen::QtApplicationSettingsScreen(QWidget *parent)
: QtSettingsWindow(parent)
, m_frameworkPaths(nullptr)
{
raise();
}
QSize QtApplicationSettingsScreen::sizeHint() const
+2
View File
@@ -321,6 +321,7 @@ void QtMainWindow::about()
m_aboutWindow->setup();
connect(m_aboutWindow.get(), SIGNAL(finished()), this, SLOT(popWindow()));
connect(m_aboutWindow.get(), SIGNAL(canceled()), this, SLOT(popWindow()));
}
pushWindow(m_aboutWindow.get());
@@ -349,6 +350,7 @@ void QtMainWindow::showLicenses()
m_licenseWindow->setup();
connect(m_licenseWindow.get(), SIGNAL(finished()), this, SLOT(popWindow()));
connect(m_licenseWindow.get(), SIGNAL(canceled()), this, SLOT(popWindow()));
}
pushWindow(m_licenseWindow.get());
@@ -62,7 +62,6 @@ QtProjectSetupScreen::QtProjectSetupScreen(QWidget *parent)
: QtSettingsWindow(parent)
, m_frameworkPaths(nullptr)
{
raise();
}
QSize QtProjectSetupScreen::sizeHint() const