aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmpplistwindow.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-10 00:00:57 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2017-02-10 00:00:57 +0800
commit70f0007154992c0bc89e11af4fe7dcc2c493aac3 (patch)
tree67e673820a3be04ccb2aca6fb29ed2e2a9578af8 /qmidiplayer-desktop/qmpplistwindow.hpp
parent620aad63042e0f397ea6691fe92ac40fcc6b6fed (diff)
downloadQMidiPlayer-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/qmpplistwindow.hpp')
-rw-r--r--qmidiplayer-desktop/qmpplistwindow.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmidiplayer-desktop/qmpplistwindow.hpp b/qmidiplayer-desktop/qmpplistwindow.hpp
index 6ceeb60..b1deab4 100644
--- a/qmidiplayer-desktop/qmpplistwindow.hpp
+++ b/qmidiplayer-desktop/qmpplistwindow.hpp
@@ -26,7 +26,8 @@ class qmpPlistWindow : public QDialog
void dropEvent(QDropEvent *event);
void dragEnterEvent(QDragEnterEvent *event);
int getRepeat();
- QString getFirstItem();
+ QString getFirstItem(bool a=false);
+ QString getLastItem(bool a=false);
QString getNextItem();
QString getPrevItem();
QString getSelectedItem();