From b5d2f229257c5d70766fd9489ea0e0830cc1a33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 31 Jul 2006 05:06:00 +0000 Subject: [PATCH] I really don't like playing hide and seek with {}'s. svn path=/trunk/KDE/kdebase/workspace/; revision=568105 --- data/update_window_settings.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/update_window_settings.cpp b/data/update_window_settings.cpp index 8b32c2c911..56a867a2bc 100644 --- a/data/update_window_settings.cpp +++ b/data/update_window_settings.cpp @@ -120,9 +120,8 @@ void writeRules( KConfig& cfg ) cfg.writeEntry( "windowrole", ( const char* ) info->windowRole ); cfg.writeEntry( "windowrolematch", 1 ); } - if( info->windowType == static_cast< NET::WindowType >( -2 )) { // undefined - // all types - } + if( info->windowType == static_cast< NET::WindowType >( -2 )) // undefined + {} // all types if( info->windowType == NET::Unknown ) cfg.writeEntry( "types", (int)NET::NormalMask ); else