Remove some debug output.

svn path=/trunk/kdebase/kwin/; revision=333441
This commit is contained in:
Luboš Luňák 2004-07-28 06:59:16 +00:00
parent 4bc681a756
commit 044fec7186

View file

@ -149,7 +149,6 @@ void Rules::readFromCfg( KConfig& cfg )
READ_FORCE_RULE( acceptfocus, Bool, ); READ_FORCE_RULE( acceptfocus, Bool, );
READ_FORCE_RULE( moveresizemode, , Options::stringToMoveResizeMode ); READ_FORCE_RULE( moveresizemode, , Options::stringToMoveResizeMode );
READ_FORCE_RULE( closeable, Bool, ); READ_FORCE_RULE( closeable, Bool, );
kdDebug() << "READ RULE:" << this << endl;
} }
#undef READ_MATCH_STRING #undef READ_MATCH_STRING
@ -505,7 +504,6 @@ bool Rules::discardTemporary( bool force )
return false; return false;
if( force || --temporary_state == 0 ) // too old if( force || --temporary_state == 0 ) // too old
{ {
kdDebug() << "DISCARD:" << this << endl;
delete this; delete this;
return true; return true;
} }
@ -662,7 +660,7 @@ WindowRules Workspace::findWindowRules( const Client* c, bool ignore_temporary )
if( (*it)->match( c )) if( (*it)->match( c ))
{ {
Rules* rule = *it; Rules* rule = *it;
kdDebug() << "RULE FOUND:" << rule << ":" << c << endl; kdDebug( 1212 ) << "Rule found:" << rule << ":" << c << endl;
if( rule->isTemporary()) if( rule->isTemporary())
it = rules.remove( it ); it = rules.remove( it );
else else
@ -691,7 +689,6 @@ void Workspace::loadWindowRules()
KConfig cfg( "kwinrulesrc", true ); KConfig cfg( "kwinrulesrc", true );
cfg.setGroup( "General" ); cfg.setGroup( "General" );
int count = cfg.readNumEntry( "count" ); int count = cfg.readNumEntry( "count" );
kdDebug() << "RULES:" << count << endl;
for( int i = 1; for( int i = 1;
i <= count; i <= count;
++i ) ++i )
@ -736,7 +733,6 @@ void Workspace::gotTemporaryRulesMessage( const QString& message )
void Workspace::cleanupTemporaryRules() void Workspace::cleanupTemporaryRules()
{ {
kdDebug() << "CLEANUP" << endl;
bool has_temporary = false; bool has_temporary = false;
for( QValueList< Rules* >::Iterator it = rules.begin(); for( QValueList< Rules* >::Iterator it = rules.begin();
it != rules.end(); it != rules.end();