mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-24 11:53:09 +01:00
Always trigger sync for local playlist creation
This commit is contained in:
parent
5c58bc1d58
commit
12f6d1f780
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user