From: Kai Uwe Broulik Date: Thu, 11 Jan 2018 15:08:39 +0000 (+0100) Subject: Explicitly pass iconNameForUrl when dropping places entry X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/dedb612764cfa747ff3ff339323c15cd1fea6925?hp=-c Explicitly pass iconNameForUrl when dropping places entry Differential Revision: https://phabricator.kde.org/D9609 --- dedb612764cfa747ff3ff339323c15cd1fea6925 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