D9237: port wallpaper config fialog to Package::fileUrl
David Edmundson
noreply at phabricator.kde.org
Mon Dec 11 11:19:26 UTC 2017
davidedmundson accepted this revision.
davidedmundson added a comment.
This revision is now accepted and ready to land.
Works with my awesome firework wallpaper from 2 years ago.
INLINE COMMENTS
> containmentconfigview.cpp:126
> + for (const KPluginMetaData &m : KPackage::PackageLoader::self()->listPackages("Plasma/Wallpaper")) {
> + KPackage::Package pkg = KPackage::PackageLoader::self()->loadPackage("Plasma/Wallpaper", m.pluginId());
> + m_wallpaperConfigModel->appendCategory(pkg.metadata().iconName(), pkg.metadata().name(), pkg.fileUrl("ui", QStringLiteral("config.qml")).toString(), m.pluginId());
the old code has an if !package.valid {continue}
do we need that?
REPOSITORY
R120 Plasma Workspace
BRANCH
phab/fileurlwallpaper
REVISION DETAIL
https://phabricator.kde.org/D9237
To: mart, #plasma, davidedmundson
Cc: davidedmundson, broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171211/296015ab/attachment-0001.html>
More information about the Plasma-devel
mailing list