From ab52f8c29406d141fccedca6e4e413fb35b2ce62 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 20 Aug 2008 13:11:01 +0000 Subject: [PATCH] make save take a KConfigGroup by ref, like all the other save methods in the library svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=849909 --- wallpaper.cpp | 2 +- wallpaper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.