mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
- Fixed a little bug in last commit
This commit is contained in:
parent
685ceafc5b
commit
1b93f4eaf1
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue