From 44589885a4ff86859f35ab75b2656ce11f24280a Mon Sep 17 00:00:00 2001 From: konrad Date: Fri, 23 Apr 2010 11:43:51 +0000 Subject: [PATCH] fix really stupid crash git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@435 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- src/main.cpp | 2 +- src/main.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 1.7.2.5