diff --git a/wallpaper.cpp b/wallpaper.cpp index 9a87b762e..630b890f4 100644 --- a/wallpaper.cpp +++ b/wallpaper.cpp @@ -190,7 +190,7 @@ void Wallpaper::init(const KConfigGroup &config) Q_UNUSED(config); } -void Wallpaper::save(KConfigGroup config) +void Wallpaper::save(KConfigGroup &config) { Q_UNUSED(config); } diff --git a/wallpaper.h b/wallpaper.h index cde07f517..557c0c864 100644 --- a/wallpaper.h +++ b/wallpaper.h @@ -153,7 +153,7 @@ class PLASMA_EXPORT Wallpaper : public QObject * This method is called when settings need to be saved. * @param config Config group to save settings **/ - virtual void save(KConfigGroup config); + virtual void save(KConfigGroup &config); /** * Returns widget for configuration dialog.