I really don't like playing hide and seek with {}'s.

svn path=/trunk/KDE/kdebase/workspace/; revision=568105
icc-effect-5.14.5
Luboš Luňák 2006-07-31 05:06:00 +00:00
parent 9310382fd5
commit b5d2f22925
1 changed files with 2 additions and 3 deletions

View File

@ -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