Merging from old trunk:

r568105 | lunakl | 2006-07-31 07:06:00 +0200 (Mon, 31 Jul 2006) | 3 lines

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


svn path=/trunk/KDE/kdebase/workspace/; revision=659265
This commit is contained in:
Luboš Luňák 2007-04-29 21:00:59 +00:00
parent c224ad6118
commit 3dbb6fba21

View file

@ -121,9 +121,8 @@ void writeRules( KConfig& cfg )
cfg.writeEntry( "windowrole", ( const char* ) (*it)->windowRole );
cfg.writeEntry( "windowrolematch", 1 );
}
if( (*it)->windowType == static_cast< NET::WindowType >( -2 )) { // undefined
// all types
}
if( (*it)->windowType == static_cast< NET::WindowType >( -2 )) // undefined
{} // all types
if( (*it)->windowType == NET::Unknown )
cfg.writeEntry( "types", (int)NET::NormalMask );
else