1. Lukas Linhart
  2. almad-gentoo

Source

almad-gentoo / net-im / psi / files / psi-0.12.1-qt-4.5-compatibility.patch

--- 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);