SOURCES: psi-qt4.5.patch (NEW) - qt 4.5 compat fix

arekm arekm at pld-linux.org
Wed Mar 4 08:42:39 CET 2009


Author: arekm                        Date: Wed Mar  4 07:42:39 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- qt 4.5 compat fix

---- Files affected:
SOURCES:
   psi-qt4.5.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/psi-qt4.5.patch
diff -u /dev/null SOURCES/psi-qt4.5.patch:1.1
--- /dev/null	Wed Mar  4 08:42:40 2009
+++ SOURCES/psi-qt4.5.patch	Wed Mar  4 08:42:34 2009
@@ -0,0 +1,13 @@
+--- src/main.cpp.old	2009-02-14 21:52:12.000000000 +0500
++++ src/main.cpp	2009-02-14 21:54:42.000000000 +0500
+@@ -274,9 +274,9 @@
+ 
+ int main(int argc, char *argv[])
+ {
++	PsiApplication app(argc, argv);
+ 	// it must be initialized first in order for ApplicationInfo::resourcesDir() to work
+ 	QCA::Initializer init;
+-	PsiApplication app(argc, argv);
+ 	QApplication::addLibraryPath(ApplicationInfo::resourcesDir());
+ 	QApplication::addLibraryPath(ApplicationInfo::homeDir());
+ 	QApplication::setQuitOnLastWindowClosed(false);
================================================================


More information about the pld-cvs-commit mailing list