diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2013-12-06 14:25:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-06 07:31:08 -0800 |
commit | 07e1e416cf769f157fb5b9d49c90ace376e7f4cd (patch) | |
tree | 9a4dbe2bf22829abdfa3518f5e1002a33eb71420 /qt-ui/mainwindow.cpp | |
parent | dfa66cce311dfe34c27428d028db8402ebeee809 (diff) | |
download | subsurface-07e1e416cf769f157fb5b9d49c90ace376e7f4cd.tar.gz |
Add icon and title for User Manual window
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 18cb0c122..e4569911b 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -497,6 +497,8 @@ void MainWindow::on_actionUserManual_triggered() QString searchPath = getSubsurfaceDataPath("Documentation"); if (searchPath != "") { QUrl url(searchPath.append("/user-manual.html")); + helpView->setWindowTitle(tr("User Manual")); + helpView->setWindowIcon(QIcon(":/subsurface-icon")); helpView->setUrl(url); } else { helpView->setHtml(tr("Cannot find the Subsurface manual")); |