mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
* Forgot to update DatabaseCommand.
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
#include "databasecommand_addfiles.h"
|
#include "databasecommand_addfiles.h"
|
||||||
#include "databasecommand_createplaylist.h"
|
#include "databasecommand_createplaylist.h"
|
||||||
#include "databasecommand_deleteplaylist.h"
|
#include "databasecommand_deleteplaylist.h"
|
||||||
|
#include "databasecommand_logplayback.h"
|
||||||
#include "databasecommand_renameplaylist.h"
|
#include "databasecommand_renameplaylist.h"
|
||||||
#include "databasecommand_setplaylistrevision.h"
|
#include "databasecommand_setplaylistrevision.h"
|
||||||
|
|
||||||
@@ -70,6 +71,13 @@ DatabaseCommand::factory( const QVariant& op, const source_ptr& source )
|
|||||||
QJson::QObjectHelper::qvariant2qobject( op.toMap(), cmd );
|
QJson::QObjectHelper::qvariant2qobject( op.toMap(), cmd );
|
||||||
return cmd;
|
return cmd;
|
||||||
}
|
}
|
||||||
|
else if( name == "logplayback" )
|
||||||
|
{
|
||||||
|
DatabaseCommand_LogPlayback * cmd = new DatabaseCommand_LogPlayback;
|
||||||
|
cmd->setSource( source );
|
||||||
|
QJson::QObjectHelper::qvariant2qobject( op.toMap(), cmd );
|
||||||
|
return cmd;
|
||||||
|
}
|
||||||
else if( name == "renameplaylist" )
|
else if( name == "renameplaylist" )
|
||||||
{
|
{
|
||||||
DatabaseCommand_RenamePlaylist * cmd = new DatabaseCommand_RenamePlaylist;
|
DatabaseCommand_RenamePlaylist * cmd = new DatabaseCommand_RenamePlaylist;
|
||||||
|
Reference in New Issue
Block a user