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
+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());