diff options
| author | Kai Uwe Broulik <[email protected]> | 2018-01-11 16:08:39 +0100 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2018-01-11 16:08:39 +0100 |
| commit | dedb612764cfa747ff3ff339323c15cd1fea6925 (patch) | |
| tree | b87cb0240599d414833700514ae07c50cb113823 | |
| parent | bdcf12026d0d3e9dd0ac8e585d415bad0f274a7e (diff) | |
Explicitly pass iconNameForUrl when dropping places entry
Differential Revision: https://phabricator.kde.org/D9609
| -rw-r--r-- | src/panels/places/placesitemmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index b23877629..422db8fc3 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -383,7 +383,7 @@ void PlacesItemModel::dropMimeDataBefore(int index, const QMimeData* mimeData) continue; } - createPlacesItem(text, url, QString(), qMax(0, index - 1)); + createPlacesItem(text, url, KIO::iconNameForUrl(url), qMax(0, index - 1)); } } // will save bookmark alteration and fix sort if that is broken by the drag/drop operation |
