Commit eec29cfe authored by Konrad Materka's avatar Konrad Materka

Fix: Reload list of wallpaper types on install

parent 42e2078c
......@@ -127,10 +127,11 @@ PlasmaQuick::ConfigModel *ContainmentConfigView::wallpaperConfigModel()
if (!m_wallpaperConfigModel) {
m_wallpaperConfigModel = new WallpaperConfigModel(this);
QDBusConnection::sessionBus().connect(QString(), QStringLiteral("/KPackage/Plasma/Wallpaper"), QStringLiteral("org.kde.plasma.kpackage"), QStringLiteral("packageInstalled"),
m_wallpaperConfigModel, SLOT(repopulate())) ;
m_wallpaperConfigModel, SLOT(repopulate()));
QDBusConnection::sessionBus().connect(QString(), QStringLiteral("/KPackage/Plasma/Wallpaper"), QStringLiteral("org.kde.plasma.kpackage"), QStringLiteral("packageUpdated"),
m_wallpaperConfigModel, SLOT(repopulate()));
QDBusConnection::sessionBus().connect(QString(), QStringLiteral("/KPackage/Plasma/Wallpaper"), QStringLiteral("org.kde.plasma.kpackage"), QStringLiteral("packageUninstalled"),
m_wallpaperConfigModel, SLOT(repopulate()));
}
return m_wallpaperConfigModel;
}
......
Markdown is supported
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