fix really stupid crash
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Fri, 23 Apr 2010 11:43:51 +0000 (11:43 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Fri, 23 Apr 2010 11:43:51 +0000 (11:43 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@435 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

src/main.cpp
src/main.h

index 63740c7..34e454e 100644 (file)
@@ -112,7 +112,7 @@ void MApplication::help()
        QDesktopServices::openUrl(QUrl(d));
 }
 
-MApplication::MApplication(int ac,char**av)
+MApplication::MApplication(int&ac,char**av)
 :QApplication(ac,av)
 {}
 
index caa19d5..5dc5791 100644 (file)
@@ -28,7 +28,7 @@ class MApplication:public QApplication
 {
        Q_OBJECT
        public:
-               MApplication(int ac,char**av);
+               MApplication(int&ac,char**av);
                
                void setMyStyle();