From 1f1f0d5bda21d7c8ad415e37915f7e78808b7d6d Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Fri, 6 Apr 2012 22:45:12 -0400 Subject: [PATCH] debug-- --- src/accounts/spotify/SpotifyAccount.cpp | 2 -- src/accounts/spotify/SpotifyAccountConfig.cpp | 2 -- src/libtomahawk/playlist.cpp | 4 ---- src/libtomahawk/widgets/ChartDataLoader.cpp | 1 - 4 files changed, 9 deletions(-) diff --git a/src/accounts/spotify/SpotifyAccount.cpp b/src/accounts/spotify/SpotifyAccount.cpp index 7ba482644..599d33833 100644 --- a/src/accounts/spotify/SpotifyAccount.cpp +++ b/src/accounts/spotify/SpotifyAccount.cpp @@ -291,7 +291,6 @@ SpotifyAccount::saveConfig() QVariantHash config = configuration(); config[ "deleteOnUnsync" ] = m_configWidget.data()->deleteOnUnsync(); - qDebug() << "Saved deleteOnUnsync to:" << m_configWidget.data()->deleteOnUnsync(); setConfiguration( config ); m_configWidget.data()->saveSettings(); @@ -395,7 +394,6 @@ SpotifyAccount::fetchFullPlaylist( SpotifyPlaylistInfo* playlist ) bool SpotifyAccount::deleteOnUnsync() const { - qDebug() << "READ deleteOnUnsync:" << configuration().value( "deleteOnUnsync", false ).toBool(); return configuration().value( "deleteOnUnsync", false ).toBool(); } diff --git a/src/accounts/spotify/SpotifyAccountConfig.cpp b/src/accounts/spotify/SpotifyAccountConfig.cpp index 4140cb68d..4d5a158df 100644 --- a/src/accounts/spotify/SpotifyAccountConfig.cpp +++ b/src/accounts/spotify/SpotifyAccountConfig.cpp @@ -60,8 +60,6 @@ SpotifyAccountConfig::loadFromConfig() m_ui->usernameEdit->setText( m_account->credentials().value( "username" ).toString() ); m_ui->passwordEdit->setText( m_account->credentials().value( "password" ).toString() ); m_ui->streamingCheckbox->setChecked( m_account->credentials().value( "highQuality" ).toBool() ); - - qDebug() << "Loaded deleteOnUnsync:" << m_account->deleteOnUnsync(); m_ui->deleteOnUnsync->setChecked( m_account->deleteOnUnsync() ); } diff --git a/src/libtomahawk/playlist.cpp b/src/libtomahawk/playlist.cpp index cfa869300..298f2f278 100644 --- a/src/libtomahawk/playlist.cpp +++ b/src/libtomahawk/playlist.cpp @@ -442,17 +442,14 @@ Playlist::setNewRevision( const QString& rev, QList entries; - qDebug() << "Going through neworderedguids:" << neworderedguids << neworderedguids.size(); foreach ( const QString& id, neworderedguids ) { if ( entriesmap.contains( id ) ) { - qDebug() << "Adding original entry to entries:" << id; entries.append( entriesmap.value( id ) ); } else if ( addedmap.contains( id ) ) { - qDebug() << "Adding new entry to entries:" << id << addedmap.value( id ); if( ! addedmap.value( id ).isNull() ) qDebug() << addedmap.value( id )->query()->track() << addedmap.value( id )->query()->artist(); entries.append( addedmap.value( id ) ); if ( is_newest_rev ) @@ -480,7 +477,6 @@ Playlist::setNewRevision( const QString& rev, Q_ASSERT( false ); // XXX } } - qDebug() << "and got:" << entries.size() << entries << m_entries.size() << m_entries; PlaylistRevision pr; pr.oldrevisionguid = m_currentrevision; diff --git a/src/libtomahawk/widgets/ChartDataLoader.cpp b/src/libtomahawk/widgets/ChartDataLoader.cpp index a786aa199..07a69112e 100644 --- a/src/libtomahawk/widgets/ChartDataLoader.cpp +++ b/src/libtomahawk/widgets/ChartDataLoader.cpp @@ -59,7 +59,6 @@ ChartDataLoader::go() foreach ( const Tomahawk::InfoSystem::InfoStringHash& album, m_data ) { - tDebug( LOGVERBOSE) << Q_FUNC_INFO << "Getting album" << album[ "album" ] << "By" << album[ "artist" ]; artist_ptr artistPtr = Artist::get( album[ "artist" ], false ); album_ptr albumPtr = Album::get( artistPtr, album[ "album" ], false ); album_ptrs << albumPtr;