diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-03-23 08:37:02 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-03-23 08:37:02 +0800 |
commit | 45c5116353986d13f886ff7398dcb34b878c6cea (patch) | |
tree | fc0c7f3894e97c98dfde1f52983a74eb62f5cf21 /qmpmainwindow.cpp | |
parent | 6015dccd4a839d46749a3bf7c0e45263ac8870ca (diff) | |
download | QMidiPlayer-45c5116353986d13f886ff7398dcb34b878c6cea.tar.xz |
Judas Kiss. (This should fix #1)
Diffstat (limited to 'qmpmainwindow.cpp')
-rw-r--r-- | qmpmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qmpmainwindow.cpp b/qmpmainwindow.cpp index 35dd3ee..3220c13 100644 --- a/qmpmainwindow.cpp +++ b/qmpmainwindow.cpp @@ -135,7 +135,7 @@ void qmpMainWindow::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()); plistw->insertItems(sl); } void qmpMainWindow::dragEnterEvent(QDragEnterEvent *event) |