diff options
author | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 00:00:57 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2017-02-10 00:00:57 +0800 |
commit | 70f0007154992c0bc89e11af4fe7dcc2c493aac3 (patch) | |
tree | 67e673820a3be04ccb2aca6fb29ed2e2a9578af8 /qmidiplayer-desktop/qmpmainwindow.hpp | |
parent | 620aad63042e0f397ea6691fe92ac40fcc6b6fed (diff) | |
download | QMidiPlayer-70f0007154992c0bc89e11af4fe7dcc2c493aac3.tar.xz |
Fix building on Windows.
Behavior changes:
1. DnD into the main window now causes the dropped
file to play.
2. Switch back to w32usleep to increase bpm accuracy.
3. Scan for plugins in application folder (in Windows),
not in the working directory.
Diffstat (limited to 'qmidiplayer-desktop/qmpmainwindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpmainwindow.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpmainwindow.hpp b/qmidiplayer-desktop/qmpmainwindow.hpp index 71161c2..0b835e7 100644 --- a/qmidiplayer-desktop/qmpmainwindow.hpp +++ b/qmidiplayer-desktop/qmpmainwindow.hpp @@ -65,6 +65,7 @@ class qmpMainWindow:public QMainWindow QTimer* getTimer(){return timer;} bool isFinalizing(){return fin;} QString getFileName(); + void switchTrack(QString s); std::string getTitle(); std::wstring getWTitle(); uint32_t getPlaybackPercentage(); |