From kde-commits Sun Oct 11 18:07:57 2009 From: Esben Mose Hansen Date: Sun, 11 Oct 2009 18:07:57 +0000 To: kde-commits Subject: KDE/kdebase/workspace/klipper Message-Id: <1255284477.524490.19156.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125528448822740 SVN commit 1033999 by esben: Fix old debug code to work again M +2 -2 historyitem.cpp --- trunk/KDE/kdebase/workspace/klipper/historyitem.cpp #1033998:1033999 @@ -40,8 +40,8 @@ { #if 0 int i=0; - while ( const char* f = aSource.format( i++ ) ) { - kDebug() << "format(" << i <<"): " << f; + foreach ( QString format, data->formats() ) { + kDebug() << "format(" << i++ <<"): " << format; } #endif if (KUrl::List::canDecode(data))