]> cloud.milkyroute.net Git - dolphin.git/commit
Explicitly pass iconNameForUrl when creating new places entry
authorKai Uwe Broulik <kde@privat.broulik.de>
Tue, 3 Jan 2017 08:46:43 +0000 (09:46 +0100)
committerKai Uwe Broulik <kde@privat.broulik.de>
Tue, 3 Jan 2017 08:46:43 +0000 (09:46 +0100)
commit996f8520e7003326ade6ea96929dd41958ba308d
treed0be77a7a7f286b38ee568d0a19f63f490afe528
parent2a7090728b8ef897a523712f89c917302f2c6532
Explicitly pass iconNameForUrl when creating new places entry

Once KIO::iconNameForUrl returns special icons for standard paths (e.g. Video folder)
this will ensure when adding such a folder to places it will automatically get the proper icon.

Since KIO already depends on KBookmarks it can't depend the other way round, otherwise
this would have been fixed in KBookmarks directly.

Differential Revision: https://phabricator.kde.org/D3896
src/dolphincontextmenu.cpp