only mark it as initialized after the first run of init()

svn path=/trunk/KDE/kdelibs/; revision=951209
This commit is contained in:
Aaron J. Seigo 2009-04-08 17:26:22 +00:00
parent b22ec1abf8
commit 16e41bf2be

View File

@ -220,8 +220,8 @@ void Wallpaper::setRenderingMode(const QString &mode)
void Wallpaper::restore(const KConfigGroup &config)
{
d->initialized = true;
init(config);
d->initialized = true;
}
void Wallpaper::init(const KConfigGroup &config)