Browse Source

- Fixed a little bug in last commit

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
1b93f4eaf1
  1. 3
      src/GUI.cpp

3
src/GUI.cpp

@ -533,6 +533,9 @@ void GUI::dropEvent(QDropEvent *event) {
QList<QUrl> urls = event->mimeData()->urls(); QList<QUrl> urls = event->mimeData()->urls();
QUrl url; QUrl url;
foreach(url, urls) { foreach(url, urls) {
QString tmp = url.toString();
tmp.trimmed();
if(!tmp.isEmpty())
files << url.toString(); files << url.toString();
} }
} else { } else {

Loading…
Cancel
Save