mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
dfa66cce31
commit
07e1e416cf
1 changed files with 2 additions and 0 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Reference in a new issue