aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index c031262..c9f3b42 100644
--- a/main.cpp
+++ b/main.cpp
@@ -19,11 +19,11 @@
#include <QApplication>
#include <QStyle>
-int main(int argc, char *argv[])
+int main(int argc,char **argv)
{
QApplication a(argc,argv);
qmpMainWindow w;
- w.show();
+ if(w.pharseArgs(argc,argv)==1)return 0;
return a.exec();
}