summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-24 16:19:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-25 07:19:18 -0700
commit126106f9b05afb26b339c194f353a726d131cd41 (patch)
treee92dce1e53652be92d8f29aa37975b61dc7e8afa /qt-ui/mainwindow.cpp
parentb068ae6019982d20a17ca3f366a866c2ee24ee4c (diff)
downloadsubsurface-126106f9b05afb26b339c194f353a726d131cd41.tar.gz
Quit Subsurface with user manual window in front
Add ability to quit Subsurface with a Ctrl-Q shortcut even if the user manual window is active. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index cd8e6d808..2d3388d9e 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -592,7 +592,7 @@ void MainWindow::on_actionUserManual_triggered()
{
#ifndef NO_USERMANUAL
if (!helpView) {
- helpView = new UserManual();
+ helpView = new UserManual(this);
}
helpView->show();
#endif