diff options
author | Johann Latocha | 2011-09-29 13:59:02 +0200 |
---|---|---|
committer | Johann Latocha | 2011-09-29 13:59:02 +0200 |
commit | 1687ac0f52c639e4c1b7612b293215e0f3026b38 (patch) | |
tree | f69c901e828bff3523df553e568520cdd669da40 | |
parent | Defect #841 (diff) | |
download | pvs-1687ac0f52c639e4c1b7612b293215e0f3026b38.tar.gz pvs-1687ac0f52c639e4c1b7612b293215e0f3026b38.tar.xz pvs-1687ac0f52c639e4c1b7612b293215e0f3026b38.zip |
[PVSMGRTOUCH] Help i18n
-rw-r--r-- | pvsmgr.qrc | 4 | ||||
-rw-r--r-- | src/gui/mainWindow.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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"); |