mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
Merge branch 'KDE/4.14'
This commit is contained in:
commit
4479a546bd
|
@ -435,8 +435,9 @@ void PlacesItemModel::dropMimeDataBefore(int index, const QMimeData* mimeData)
|
||||||
text = url.host();
|
text = url.host();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (url.isLocalFile() && !QFileInfo(url.toLocalFile()).isDir()) {
|
if ((url.isLocalFile() && !QFileInfo(url.toLocalFile()).isDir())
|
||||||
// Only directories are allowed
|
|| url.protocol() == "trash") {
|
||||||
|
// Only directories outside the trash are allowed
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue