Re-add debug code that got lost somehow ... and make it kdDebug()

to avoid the huge waste of space.


svn path=/trunk/KDE/kdebase/workspace/; revision=788162
icc-effect-5.14.5
Luboš Luňák 2008-03-20 21:58:00 +00:00
parent 79b4e8e4fc
commit 10d3e03266
1 changed files with 6 additions and 2 deletions

View File

@ -554,6 +554,10 @@ ClientList Workspace::constrainedStackingOrder()
#if 0
kDebug() << "stacking1:";
for( ClientList::ConstIterator it = unconstrained_stacking_order.begin();
it != unconstrained_stacking_order.end();
++it )
kdDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
#endif
// build the order from layers
QHash< Group*, Layer > minimum_layer;
@ -584,7 +588,7 @@ ClientList Workspace::constrainedStackingOrder()
for( ClientList::ConstIterator it = stacking.begin();
it != stacking.end();
++it )
kDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
kdDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
#endif
// now keep transients above their mainwindows
// TODO this could(?) use some optimization
@ -652,7 +656,7 @@ ClientList Workspace::constrainedStackingOrder()
for( ClientList::ConstIterator it = stacking.begin();
it != stacking.end();
++it )
kDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
kdDebug() << (void*)(*it) << *it << ":" << (*it)->layer();
kDebug() << "\n\n";
#endif
return stacking;