1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-19 23:41:51 +02:00

* Fixed DbCmd_LogPlayback.

This commit is contained in:
Christian Muehlhaeuser 2011-05-25 04:20:11 +02:00
parent b2c9028b54
commit 3a9f0e9f86

View File

@ -98,6 +98,9 @@ DatabaseCommand_LogPlayback::exec( DatabaseImpl* dbi )
bool
DatabaseCommand_LogPlayback::localOnly() const
{
return m_secsPlayed < 20;
if ( m_action == Finished )
return m_secsPlayed < 20;
return false;
}