diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-19 23:42:18 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-19 23:42:18 +0800 |
commit | b68f60e023175b144664de092c31416fa5b58880 (patch) | |
tree | db20d74a00eda81274d532d5590a64868c944e78 /qmidiplayer-desktop/main.cpp | |
parent | 41d78f3a67e2356008911b07f8cc0d0cdafd7fda (diff) | |
download | QMidiPlayer-b68f60e023175b144664de092c31416fa5b58880.tar.xz |
Fix argument parsing on Windows.
Diffstat (limited to 'qmidiplayer-desktop/main.cpp')
-rw-r--r-- | qmidiplayer-desktop/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/main.cpp b/qmidiplayer-desktop/main.cpp index e763811..2ac275e 100644 --- a/qmidiplayer-desktop/main.cpp +++ b/qmidiplayer-desktop/main.cpp @@ -32,7 +32,7 @@ int main(int argc,char **argv) qmpTranslator.load("qmp_"+QLocale::system().name()); a.installTranslator(&qmpTranslator); qmpMainWindow w; - if(w.pharseArgs(argc,argv)==1)return 0; + if(w.pharseArgs()==1)return 0; w.init(); return a.exec(); |