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:
@@ -56,6 +56,10 @@ void
|
|||||||
DatabaseCommand_CreatePlaylist::postCommitHook()
|
DatabaseCommand_CreatePlaylist::postCommitHook()
|
||||||
{
|
{
|
||||||
qDebug() << Q_FUNC_INFO;
|
qDebug() << Q_FUNC_INFO;
|
||||||
|
|
||||||
|
if ( source()->isLocal() )
|
||||||
|
Servent::instance()->triggerDBSync();
|
||||||
|
|
||||||
if ( m_report == false )
|
if ( m_report == false )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -73,9 +77,6 @@ DatabaseCommand_CreatePlaylist::postCommitHook()
|
|||||||
{
|
{
|
||||||
m_playlist->reportCreated( m_playlist );
|
m_playlist->reportCreated( m_playlist );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( source()->isLocal() )
|
|
||||||
Servent::instance()->triggerDBSync();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user