aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpmainwindow.hpp
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/qmpmainwindow.hpp
parent41d78f3a67e2356008911b07f8cc0d0cdafd7fda (diff)
downloadQMidiPlayer-b68f60e023175b144664de092c31416fa5b58880.tar.xz
Fix argument parsing on Windows.
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp')
-rw-r--r--qmidiplayer-desktop/qmpmainwindow.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp
index 729eb7f..55e0b12 100644
--- a/qmidiplayer-desktop/qmpmainwindow.hpp
+++ b/qmidiplayer-desktop/qmpmainwindow.hpp
@@ -9,6 +9,7 @@
#include <QDragEnterEvent>
#include <QAction>
#include <QMenu>
+#include <QApplication>
#include <thread>
#include <chrono>
#include "../core/qmpmidiplay.hpp"
@@ -39,7 +40,7 @@ class qmpMainWindow:public QMainWindow
QTimer* getTimer(){return timer;}
bool isFinalizing(){return fin;}
QString getFileName();
- int pharseArgs(int argc,char** argv);
+ int pharseArgs();
private slots:
void on_pbPlayPause_clicked();