aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2014-07-06 13:21:52 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2014-07-06 13:21:52 +0000
commit21d4ce81aca065f7a89b6645d16e275d4d44e76d (patch)
tree8ab216cf06a5f6c373e12399d73f6da0b7b733e0
parentrevert opening localized help (diff)
downloadgpg4usb-21d4ce81aca065f7a89b6645d16e275d4d44e76d.tar.gz
gpg4usb-21d4ce81aca065f7a89b6645d16e275d4d44e76d.zip
fix opening help
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@1120 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--helppage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/helppage.cpp b/helppage.cpp
index df16d64..edbd1da 100644
--- a/helppage.cpp
+++ b/helppage.cpp
@@ -20,6 +20,7 @@
*/
#include "helppage.h"
+#include <QDebug>
HelpPage::HelpPage(const QString path, QWidget *parent) :
QWidget(parent)
@@ -32,7 +33,8 @@ HelpPage::HelpPage(const QString path, QWidget *parent) :
mainLayout->setContentsMargins(0,0,0,0);
setLayout(mainLayout);
//setAttribute(Qt::WA_DeleteOnClose);
- browser->setSource(QUrl::fromLocalFile(path));
+ //qDebug() << path << " : " << QUrl::fromLocalFile(path);
+ browser->setSource(QUrl(path));
//connect(browser, SIGNAL(anchorClicked(QUrl)), this, SLOT(openUrl(QUrl)));
//browser->setOpenLinks(false);