fix kwindecoration (kcontrol module) not reseting the style preview (and configs) on pressing Reset

CCMAIL: 81532-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=311538
This commit is contained in:
Cristian Tibirna 2004-05-15 00:38:42 +00:00
parent 6b27d7484b
commit c2a1128757

View file

@ -15,12 +15,12 @@
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
@ -506,9 +506,8 @@ void KWinDecorationModule::load()
kwinConfig.setGroup("Style");
// Reset by re-reading the config
// The plugin doesn't need changing, as we have not saved
readConfig( &kwinConfig );
emit pluginLoad( &kwinConfig );
resetPlugin( &kwinConfig );
}