summaryrefslogtreecommitdiff
blob: 203ba6e8a6b0a1a6fbdf98faaf59b119e9759eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);