From 7c62ae8bce31d2dc7c32e4e52ae4627ac82c2636 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 28 Jul 2003 19:08:15 +0000 Subject: [PATCH] not that it really matters, but better to be paranoid and make future changes easier svn path=/trunk/kdebase/kwin/; revision=239742 --- kcmkwin/kwindecoration/kwindecoration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcmkwin/kwindecoration/kwindecoration.cpp b/kcmkwin/kwindecoration/kwindecoration.cpp index 0cca376a2d..28e9e490e4 100644 --- a/kcmkwin/kwindecoration/kwindecoration.cpp +++ b/kcmkwin/kwindecoration/kwindecoration.cpp @@ -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 %1 window decoration.").arg(currentDecoName)); noPluginSettings->show(); }