1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-17 03:24:15 +02:00

* Need to actually load controls.

This commit is contained in:
Christian Muehlhaeuser
2013-05-20 20:05:56 +02:00
committed by Michael Zanetti
parent 045e4df526
commit 7ca0786f02

View File

@@ -71,8 +71,8 @@ DatabaseCommand_LoadDynamicPlaylistEntries::exec( DatabaseImpl* dbi )
type = controlsQuery.value( 3 ).toString(); type = controlsQuery.value( 3 ).toString();
mode = static_cast<GeneratorMode>( controlsQuery.value( 2 ).toInt() ); mode = static_cast<GeneratorMode>( controlsQuery.value( 2 ).toInt() );
/* QStringList controlIds = v.toStringList(); QStringList controlIds = v.toStringList();
// qDebug() << "Got controls in dynamic playlist, loading:" << controlIds << controlsQuery.value(1); tDebug() << "Got controls in dynamic playlist, loading:" << controlIds << controlsQuery.value(1);
foreach( const QString& controlId, controlIds ) foreach( const QString& controlId, controlIds )
{ {
TomahawkSqlQuery controlQuery = dbi->newquery(); TomahawkSqlQuery controlQuery = dbi->newquery();
@@ -91,7 +91,7 @@ DatabaseCommand_LoadDynamicPlaylistEntries::exec( DatabaseImpl* dbi )
c[ "input" ] = controlQuery.value( 2 ).toString(); c[ "input" ] = controlQuery.value( 2 ).toString();
controls << c; controls << c;
} }
}*/ }
} }
else else
{ {