mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 15:47:38 +02:00
fix merge leftovers
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "network/servent.h"
|
||||
#include "tomahawk/tomahawkapp.h"
|
||||
#include "playlist/playlistmanager.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
@@ -84,7 +85,7 @@ DatabaseCommand_CreateDynamicPlaylist::postCommitHook()
|
||||
qDebug() << Q_FUNC_INFO << "..reporting..";
|
||||
if( m_playlist.isNull() ) {
|
||||
source_ptr src = source();
|
||||
QMetaObject::invokeMethod( TomahawkApp::instance()->mainWindow(),
|
||||
QMetaObject::invokeMethod( PlaylistManager::instance(),
|
||||
"createDynamicPlaylist",
|
||||
Qt::BlockingQueuedConnection,
|
||||
QGenericArgument( "Tomahawk::source_ptr", (const void*)&src ),
|
||||
|
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "network/servent.h"
|
||||
#include "tomahawk/tomahawkapp.h"
|
||||
#include "playlist/playlistmanager.h"
|
||||
|
||||
using namespace Tomahawk;
|
||||
|
||||
@@ -43,7 +44,7 @@ DatabaseCommand_CreatePlaylist::postCommitHook()
|
||||
qDebug() << Q_FUNC_INFO << "..reporting..";
|
||||
if( m_playlist.isNull() ) {
|
||||
source_ptr src = source();
|
||||
QMetaObject::invokeMethod( TomahawkApp::instance()->mainWindow(),
|
||||
QMetaObject::invokeMethod( PlaylistManager::instance(),
|
||||
"createPlaylist",
|
||||
Qt::BlockingQueuedConnection,
|
||||
QGenericArgument( "Tomahawk::source_ptr", (const void*)&src ),
|
||||
|
Reference in New Issue
Block a user