1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-22 13:43:11 +02:00
This commit is contained in:
Leo Franchi
2012-04-06 22:45:12 -04:00
parent 662ee55514
commit 1f1f0d5bda
4 changed files with 0 additions and 9 deletions

View File

@@ -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();
}

View File

@@ -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() );
}

View File

@@ -442,17 +442,14 @@ Playlist::setNewRevision( const QString& rev,
QList<plentry_ptr> 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;

View File

@@ -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;