1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-13 17:43:59 +02:00

Always trigger sync for local playlist creation

This commit is contained in:
Leo Franchi
2011-08-02 23:28:30 -04:00
parent 5c58bc1d58
commit 12f6d1f780

View File

@@ -56,6 +56,10 @@ void
DatabaseCommand_CreatePlaylist::postCommitHook()
{
qDebug() << Q_FUNC_INFO;
if ( source()->isLocal() )
Servent::instance()->triggerDBSync();
if ( m_report == false )
return;
@@ -73,9 +77,6 @@ DatabaseCommand_CreatePlaylist::postCommitHook()
{
m_playlist->reportCreated( m_playlist );
}
if ( source()->isLocal() )
Servent::instance()->triggerDBSync();
}