1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-19 04:11:46 +02:00

* Don't try to scrobble if scrobbling isn't configured.

This commit is contained in:
Christian Muehlhaeuser
2011-01-24 01:24:27 +01:00
parent 41f87b4ad6
commit 064a8d7803

View File

@@ -140,6 +140,9 @@ Scrobbler::scrobble()
{
Q_ASSERT( QThread::currentThread() == thread() );
if ( !m_scrobbler || m_track.isNull() )
return;
qDebug() << Q_FUNC_INFO << m_track.toString();
m_scrobbler->cache( m_track );
m_scrobbler->submit();