aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/main.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-19 23:42:18 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-19 23:42:18 +0800
commitb68f60e023175b144664de092c31416fa5b58880 (patch)
treedb20d74a00eda81274d532d5590a64868c944e78 /qmidiplayer-desktop/main.cpp
parent41d78f3a67e2356008911b07f8cc0d0cdafd7fda (diff)
downloadQMidiPlayer-b68f60e023175b144664de092c31416fa5b58880.tar.xz
Fix argument parsing on Windows.
Diffstat (limited to 'qmidiplayer-desktop/main.cpp')
-rw-r--r--qmidiplayer-desktop/main.cpp2
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();