aboutsummaryrefslogtreecommitdiff
path: root/qmpmainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmpmainwindow.cpp')
-rw-r--r--qmpmainwindow.cpp2
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)