From dedb612764cfa747ff3ff339323c15cd1fea6925 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Thu, 11 Jan 2018 16:08:39 +0100 Subject: Explicitly pass iconNameForUrl when dropping places entry Differential Revision: https://phabricator.kde.org/D9609 --- src/panels/places/placesitemmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.3