Verified Commit 77fedf1f authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpaperinterface: Update "contextualActions" after clearing actions

After clearing the entire action collection, "contextualActions" needs
to be updated to remove invalid action pointers.

BUG: 446195
parent 8923ab97
Pipeline #105727 passed with stage
in 1 minute and 27 seconds
......@@ -115,6 +115,7 @@ void WallpaperInterface::syncWallpaperPackage()
setProperty("contextualActions", QVariant::fromValue(contextualActions()));
m_pkg = KPackage::PackageLoader::self()->loadPackage(QStringLiteral("Plasma/Wallpaper"));
if (!m_pkg.isValid()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment