aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 5449246..d1dd330 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -629,9 +629,13 @@ void MainWindow::openTutorial()
QDesktopServices::openUrl(QUrl("http://gpg4usb.cpunk.de/docu.html"));
}
-void MainWindow::openHelp()
+void MainWindow::openHelp() {
+ openHelp("docu.html");
+}
+
+void MainWindow::openHelp(const QString page)
{
- edit->newHelpTab("help", qApp->applicationDirPath() + "/help/docu.html");
+ edit->newHelpTab("help", qApp->applicationDirPath() + "/help/" + page);
}
void MainWindow::setStatusBarText(QString text)