not that it really matters, but better to be paranoid and make future
changes easier svn path=/trunk/kdebase/kwin/; revision=239742
This commit is contained in:
parent
71d30b5813
commit
7c62ae8bce
1 changed files with 1 additions and 1 deletions
|
@ -274,6 +274,7 @@ void KWinDecorationModule::resetPlugin( KConfig* conf, const QString& currentDec
|
|||
|
||||
// Delete old plugin widget if it exists
|
||||
delete pluginObject;
|
||||
pluginObject = 0;
|
||||
|
||||
// Use klibloader for library manipulation
|
||||
KLibLoader* loader = KLibLoader::self();
|
||||
|
@ -302,7 +303,6 @@ void KWinDecorationModule::resetPlugin( KConfig* conf, const QString& currentDec
|
|||
}
|
||||
}
|
||||
|
||||
pluginObject = 0;
|
||||
noPluginSettings->setText(i18n("There are no special options available for the <strong>%1</strong> window decoration.").arg(currentDecoName));
|
||||
noPluginSettings->show();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue