1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/emulators/qtemu/files/patch-helpwindow.cpp
Rong-En Fan 675adc6746 QtEmu is a graphical user interface for QEMU written in Qt4.
WWW: http://qtemu.org/

PR:		ports/113619
Submitted by:	Max Brazhnikov <makc at issp.ac.ru>
2007-07-02 03:33:11 +00:00

21 lines
890 B
C++

--- ./helpwindow.cpp.orig Mon Mar 19 15:56:21 2007
+++ ./helpwindow.cpp Tue Jun 12 13:23:44 2007
@@ -72,7 +72,7 @@
return testUrl;
//check for case when qtemu executable is in bin/ (installed on linux)
- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/" + locale + "/main.htm");
+ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/doc/qtemu/" + locale + "/main.htm");
if (QFile::exists(testUrl.toString()))
return testUrl;
}
@@ -88,7 +88,7 @@
return testUrl;
//check for case when qtemu executable is in bin/ (installed on linux)
- testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../help/main.htm");
+ testUrl = QUrl(QCoreApplication::applicationDirPath()+"/../share/doc/qtemu/main.htm");
if (QFile::exists(testUrl.toString()))
return testUrl;