diff main.cpp @ 256:f649f6066e4d

* OS/X deployment fixes
author Chris Cannam
date Wed, 12 Jan 2011 15:02:11 +0000
parents 8fd71f570884
children
line wrap: on
line diff
--- a/main.cpp	Wed Jan 12 13:08:39 2011 +0000
+++ b/main.cpp	Wed Jan 12 15:02:11 2011 +0000
@@ -25,6 +25,8 @@
 
 int main(int argc, char *argv[])
 {
+    QApplication app(argc, argv);
+
     QApplication::setOrganizationName("easymercurial");
     QApplication::setOrganizationDomain("easymercurial.org");
     QApplication::setApplicationName(QApplication::tr("EasyMercurial"));
@@ -35,8 +37,6 @@
 
     installSignalHandlers();
 
-    QApplication app(argc, argv);
-
     QTranslator translator;
     QString language = QLocale::system().name();
     QString trname = QString("easyhg_%1").arg(language);