always delete the config group on destruction, even if it hasn't been access yet
svn path=/trunk/KDE/kdelibs/; revision=891073
This commit is contained in:
parent
629a3b3789
commit
40041fe655
11
applet.cpp
11
applet.cpp
@ -2014,11 +2014,12 @@ void AppletPrivate::themeChanged()
|
||||
|
||||
void AppletPrivate::resetConfigurationObject()
|
||||
{
|
||||
if (mainConfig) {
|
||||
mainConfig->deleteGroup();
|
||||
delete mainConfig;
|
||||
mainConfig = 0;
|
||||
}
|
||||
// make sure mainConfigGroup exists in all cases
|
||||
mainConfigGroup();
|
||||
|
||||
mainConfig->deleteGroup();
|
||||
delete mainConfig;
|
||||
mainConfig = 0;
|
||||
}
|
||||
|
||||
uint AppletPrivate::s_maxAppletId = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user