From: konrad Date: Fri, 23 Apr 2010 11:43:51 +0000 (+0000) Subject: fix really stupid crash X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=44589885a4ff86859f35ab75b2656ce11f24280a;p=konrad%2Fsmoke.git fix really stupid crash git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@435 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/src/main.cpp b/src/main.cpp index 63740c7..34e454e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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) {} diff --git a/src/main.h b/src/main.h index caa19d5..5dc5791 100644 --- a/src/main.h +++ b/src/main.h @@ -28,7 +28,7 @@ class MApplication:public QApplication { Q_OBJECT public: - MApplication(int ac,char**av); + MApplication(int&ac,char**av); void setMyStyle();