Explicitly pass iconNameForUrl when dropping places entry

Differential Revision: https://phabricator.kde.org/D9609
This commit is contained in:
Kai Uwe Broulik 2018-01-11 16:08:39 +01:00
parent bdcf12026d
commit dedb612764

View file

@ -383,7 +383,7 @@ void PlacesItemModel::dropMimeDataBefore(int index, const QMimeData* mimeData)
continue; 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 // will save bookmark alteration and fix sort if that is broken by the drag/drop operation