1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

remove unneeded debug

This commit is contained in:
Leo Franchi
2011-11-28 08:31:03 -05:00
parent fd936617d7
commit 9a4d4cc409

View File

@@ -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 )
{