D25184: Define property X-Plasma-MainScript for Plasma/Wallpaper

David Edmundson noreply at phabricator.kde.org
Thu Nov 7 12:04:26 GMT 2019


davidedmundson added a comment.


  From wallpaper interface:
  
    m_qmlObject->setSource(m_pkg.fileUrl("mainscript"));
  
  packages.cpp
  void QmlWallpaperPackage::initPackage(Plasma::Package *package)
  {
  
    package->addFileDefinition("mainscript", QStringLiteral("ui/main.qml"), i18n("Main Script File"));
    package->setRequired("mainscript", true);
  
  it seems hardcoded in p-f, at which point the warning itself is correct and it's the wallpapers themselves that are wrong.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D25184

To: zzag, #plasma
Cc: davidedmundson, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191107/67d1e1b2/attachment.html>


More information about the Kde-frameworks-devel mailing list