From 9a4d4cc409128bcfe6a6542620fd4d139bed30e7 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Mon, 28 Nov 2011 08:31:03 -0500 Subject: [PATCH] remove unneeded debug --- src/libtomahawk/widgets/Breadcrumb.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/widgets/Breadcrumb.cpp b/src/libtomahawk/widgets/Breadcrumb.cpp index 8409283ff..30f12942e 100644 --- a/src/libtomahawk/widgets/Breadcrumb.cpp +++ b/src/libtomahawk/widgets/Breadcrumb.cpp @@ -90,12 +90,12 @@ Breadcrumb::paintEvent( QPaintEvent* ) void Breadcrumb::updateButtons( const QModelIndex& updateFrom ) { - qDebug() << "Updating buttons:" << updateFrom.data(); +// qDebug() << "Updating buttons:" << updateFrom.data(); int cur = 0; QModelIndex idx = updateFrom; for ( int i = 0; i < m_buttons.count(); i++ ) { - qDebug() << "Checking if this breadcrumb item changed:" << m_buttons[ i ]->currentIndex().data() << updateFrom.data() << ( m_buttons[ i ]->currentIndex() != updateFrom); +// qDebug() << "Checking if this breadcrumb item changed:" << m_buttons[ i ]->currentIndex().data() << updateFrom.data() << ( m_buttons[ i ]->currentIndex() != updateFrom); if ( m_buttons[ i ]->currentIndex() == updateFrom ) { cur = i; @@ -108,10 +108,10 @@ Breadcrumb::updateButtons( const QModelIndex& updateFrom ) // Ok, changed all indices that are at cur or past it. lets update them // When we get to the "end" of the tree, the leaf node is the chart itself - qDebug() << "DONE and beginning iteration:" << idx.data(); +// qDebug() << "DONE and beginning iteration:" << idx.data(); while ( m_model->rowCount( idx ) > 0 ) { - qDebug() << "CHANGED AND iterating:" << idx.data(); +// qDebug() << "CHANGED AND iterating:" << idx.data(); BreadcrumbButton* btn = 0; if ( m_buttons.size() <= cur ) {