diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-15 22:50:11 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-15 22:50:11 +0000 |
commit | 20f449be908dbe974af547a035fbaa646e002aa1 (patch) | |
tree | 57e5c019ed336a54b2c8cb305dc83a7157e41e91 /mainwindow.cpp | |
parent | open integrated help from wizard (diff) | |
download | gpg4usb-20f449be908dbe974af547a035fbaa646e002aa1.tar.gz gpg4usb-20f449be908dbe974af547a035fbaa646e002aa1.zip |
choose helppage keygen.html from wizard
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@745 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 8 |
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) |