summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohann Latocha2011-09-29 13:59:02 +0200
committerJohann Latocha2011-09-29 13:59:02 +0200
commit1687ac0f52c639e4c1b7612b293215e0f3026b38 (patch)
treef69c901e828bff3523df553e568520cdd669da40
parentDefect #841 (diff)
downloadpvs-1687ac0f52c639e4c1b7612b293215e0f3026b38.tar.gz
pvs-1687ac0f52c639e4c1b7612b293215e0f3026b38.tar.xz
pvs-1687ac0f52c639e4c1b7612b293215e0f3026b38.zip
[PVSMGRTOUCH] Help i18n
-rw-r--r--pvsmgr.qrc4
-rw-r--r--src/gui/mainWindow.cpp2
2 files changed, 4 insertions, 2 deletions
diff --git a/pvsmgr.qrc b/pvsmgr.qrc
index 433835e..740cf0f 100644
--- a/pvsmgr.qrc
+++ b/pvsmgr.qrc
@@ -36,8 +36,10 @@
<file>icons/unlocksingle.png</file>
<file>icons/locksingle.png</file>
</qresource>
+ <qresource prefix="/help" lang="de_DE">
+ <file alias="text.html">help/pvsmgr_de_DE.html</file>
+ </qresource>
<qresource prefix="/">
- <file>help/pvsmgr_de_DE.html</file>
<file>help/icon.png</file>
<file>help/lockall.png</file>
<file>help/lock.png</file>
diff --git a/src/gui/mainWindow.cpp b/src/gui/mainWindow.cpp
index 8604bc2..4e20a87 100644
--- a/src/gui/mainWindow.cpp
+++ b/src/gui/mainWindow.cpp
@@ -249,7 +249,7 @@ MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags flags) :
QWidget *_helpDialog = new QWidget;
QWebView *helpView = new QWebView;
- helpView->load(QUrl("qrc:/help/pvsmgr_de_DE.html"));
+ helpView->load(QUrl("qrc:/help/text.html"));
QPushButton *exitButton = new QPushButton("Exit");