diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-01-06 21:28:44 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-01-06 21:28:44 +0800 |
commit | 7fccb61519fe84b2ced274f1cc4859d5000e86c6 (patch) | |
tree | f66696e67d56e9e6015d613af84562364baaa9ed /main.cpp | |
parent | 8099672c3fd0bfc7804b0a92d05c57dcd4307268 (diff) | |
download | QMidiPlayer-7fccb61519fe84b2ced274f1cc4859d5000e86c6.tar.xz |
Maple Dream. (WTF)
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); } |