Commit d6d47393 authored by Eugene Popov's avatar Eugene Popov 🇺🇦 Committed by Fushan Wen
Browse files

[FIX] Unable to remove manually added wallpaper

It's not necessary to assign m_removableWallpapers asynchronously, because the value assigned to it doesn't depend on the result of that asynch function.

!!! This MR is for the Plasma/5.25 branch only and it SHOULD NOT be cherry-picket into the master branch.

BUG: 457019
parent 21905cfe
Pipeline #208254 passed with stage
in 5 minutes and 59 seconds
......@@ -107,6 +107,8 @@ void BackgroundListModel::reload(const QStringList &selected)
m_removableWallpapers = QSet<QString>(selected.constBegin(), selected.constEnd());
const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("wallpapers/"), QStandardPaths::LocateDirectory);
BackgroundFinder *finder = new BackgroundFinder(, dirs);
......@@ -117,7 +119,6 @@ void BackgroundListModel::reload(const QStringList &selected)
processPaths(selected + wallpapersFound);
m_removableWallpapers = QSet<QString>(selected.constBegin(), selected.constEnd());
m_findToken = token;
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