ui: fix about and licenses screen
esc now works for the about and license window
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
QtAbout::QtAbout(QWidget *parent)
|
QtAbout::QtAbout(QWidget *parent)
|
||||||
: QtSettingsWindow(parent)
|
: QtSettingsWindow(parent)
|
||||||
{
|
{
|
||||||
raise();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QSize QtAbout::sizeHint() const
|
QSize QtAbout::sizeHint() const
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ QtApplicationSettingsScreen::QtApplicationSettingsScreen(QWidget *parent)
|
|||||||
: QtSettingsWindow(parent)
|
: QtSettingsWindow(parent)
|
||||||
, m_frameworkPaths(nullptr)
|
, m_frameworkPaths(nullptr)
|
||||||
{
|
{
|
||||||
raise();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QSize QtApplicationSettingsScreen::sizeHint() const
|
QSize QtApplicationSettingsScreen::sizeHint() const
|
||||||
|
|||||||
@@ -321,6 +321,7 @@ void QtMainWindow::about()
|
|||||||
m_aboutWindow->setup();
|
m_aboutWindow->setup();
|
||||||
|
|
||||||
connect(m_aboutWindow.get(), SIGNAL(finished()), this, SLOT(popWindow()));
|
connect(m_aboutWindow.get(), SIGNAL(finished()), this, SLOT(popWindow()));
|
||||||
|
connect(m_aboutWindow.get(), SIGNAL(canceled()), this, SLOT(popWindow()));
|
||||||
}
|
}
|
||||||
|
|
||||||
pushWindow(m_aboutWindow.get());
|
pushWindow(m_aboutWindow.get());
|
||||||
@@ -349,6 +350,7 @@ void QtMainWindow::showLicenses()
|
|||||||
m_licenseWindow->setup();
|
m_licenseWindow->setup();
|
||||||
|
|
||||||
connect(m_licenseWindow.get(), SIGNAL(finished()), this, SLOT(popWindow()));
|
connect(m_licenseWindow.get(), SIGNAL(finished()), this, SLOT(popWindow()));
|
||||||
|
connect(m_licenseWindow.get(), SIGNAL(canceled()), this, SLOT(popWindow()));
|
||||||
}
|
}
|
||||||
|
|
||||||
pushWindow(m_licenseWindow.get());
|
pushWindow(m_licenseWindow.get());
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ QtProjectSetupScreen::QtProjectSetupScreen(QWidget *parent)
|
|||||||
: QtSettingsWindow(parent)
|
: QtSettingsWindow(parent)
|
||||||
, m_frameworkPaths(nullptr)
|
, m_frameworkPaths(nullptr)
|
||||||
{
|
{
|
||||||
raise();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QSize QtProjectSetupScreen::sizeHint() const
|
QSize QtProjectSetupScreen::sizeHint() const
|
||||||
|
|||||||
Reference in New Issue
Block a user