Commit a6b414ff authored by Harald Sitter's avatar Harald Sitter 🏳🌈
Browse files

enable notification for wallpaper configpropertymaps changes

this enables the picture of the day kded to monitor changes using
kconfigwatcher rather than a manual kdirwatch
parent 44cc85e3
......@@ -5,7 +5,7 @@ set(PROJECT_VERSION "5.19.80")
set(PROJECT_VERSION_MAJOR 5)
set(QT_MIN_VERSION "5.14.0")
set(KF5_MIN_VERSION "5.66.0")
set(KF5_MIN_VERSION "5.73.0")
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS DBus Widgets Quick Test)
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
......
......@@ -50,6 +50,9 @@ void WallpaperIntegration::init()
if (auto config = configScheme()) {
m_configuration = new KDeclarative::ConfigPropertyMap(config, this);
m_configuration->setAutosave(false);
// potd (picture of the day) is using a kded to monitor changes and
// cache data for the lockscreen. Let's notify it.
m_configuration->setNotify(true);
}
}
......
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