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:
committed by
Michael Zanetti
parent
045e4df526
commit
7ca0786f02
@@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user