Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Qemu
>
qtemu
> qtemu-1.0.4-help-tr-path.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qtemu-1.0.4-help-tr-path.diff of Package qtemu
Only in qtemu: build diff -ur qtemu.orig/helpwindow.cpp qtemu/helpwindow.cpp --- qtemu.orig/helpwindow.cpp 2007-03-19 13:56:21.000000000 +0100 +++ qtemu/helpwindow.cpp 2007-04-22 01:55:29.000000000 +0200 @@ -67,7 +67,7 @@ return testUrl; //check for case when qtemu executable is in same dir (linux) - testUrl = QUrl(QCoreApplication::applicationDirPath()+"/help/" + locale + "/main.htm"); + testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/qtemu/help/" + locale + "/main.htm"); if (QFile::exists(testUrl.toString())) return testUrl; diff -ur qtemu.orig/main.cpp qtemu/main.cpp --- qtemu.orig/main.cpp 2007-03-19 13:56:21.000000000 +0100 +++ qtemu/main.cpp 2007-04-22 01:54:38.000000000 +0200 @@ -40,7 +40,7 @@ QString locale = settings.value("language", QString(QLocale::system().name())).toString(); QTranslator translator; QString path; - path = QCoreApplication::applicationDirPath()+"/translations/qtemu_" + locale + ".qm"; + path = QCoreApplication::applicationDirPath()+"/../share/qtemu/translations/qtemu_" + locale + ".qm"; if (QFile::exists(path)) translator.load(path); else