1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 13:01:53 +02:00

* Forgot to update DatabaseCommand.

This commit is contained in:
Christian Muehlhaeuser 2011-01-04 09:44:43 +01:00
parent 5863dc7e14
commit 087d910359

View File

@ -5,6 +5,7 @@
#include "databasecommand_addfiles.h"
#include "databasecommand_createplaylist.h"
#include "databasecommand_deleteplaylist.h"
#include "databasecommand_logplayback.h"
#include "databasecommand_renameplaylist.h"
#include "databasecommand_setplaylistrevision.h"
@ -70,6 +71,13 @@ DatabaseCommand::factory( const QVariant& op, const source_ptr& source )
QJson::QObjectHelper::qvariant2qobject( op.toMap(), 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" )
{
DatabaseCommand_RenamePlaylist * cmd = new DatabaseCommand_RenamePlaylist;