aboutsummaryrefslogtreecommitdiff
path: root/qmpplistwindow.cpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-03-23 08:37:02 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-03-23 08:37:02 +0800
commit45c5116353986d13f886ff7398dcb34b878c6cea (patch)
treefc0c7f3894e97c98dfde1f52983a74eb62f5cf21 /qmpplistwindow.cpp
parent6015dccd4a839d46749a3bf7c0e45263ac8870ca (diff)
downloadQMidiPlayer-45c5116353986d13f886ff7398dcb34b878c6cea.tar.xz
Judas Kiss. (This should fix #1)
Diffstat (limited to 'qmpplistwindow.cpp')
-rw-r--r--qmpplistwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmpplistwindow.cpp b/qmpplistwindow.cpp
index 27704d8..8f04fc1 100644
--- a/qmpplistwindow.cpp
+++ b/qmpplistwindow.cpp
@@ -108,7 +108,7 @@ void qmpPlistWindow::dropEvent(QDropEvent *event)
QList<QUrl> l=event->mimeData()->urls();
QStringList sl;
for(int i=0;i<l.size();++i)
- sl.push_back(l.at(i).path());
+ sl.push_back(l.at(i).toLocalFile());
insertItems(sl);
}
void qmpPlistWindow::dragEnterEvent(QDragEnterEvent *event)