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

svn path=/trunk/KDE/kdebase/workspace/; revision=568105
This commit is contained in:
Luboš Luňák 2006-07-31 05:06:00 +00:00
parent 9310382fd5
commit b5d2f22925

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