mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
Remove change from yesterday, as apparently m_lastCmdGuid doesn't do what I thought it does for local sources
This commit is contained in:
@@ -33,14 +33,6 @@ DatabaseCommand_LoadAllSources::exec( DatabaseImpl* dbi )
|
||||
{
|
||||
TomahawkSqlQuery query = dbi->newquery();
|
||||
|
||||
query.exec( QString( "SELECT guid "
|
||||
"FROM oplog "
|
||||
"WHERE source IS NULL "
|
||||
"ORDER BY id DESC LIMIT 1" ) );
|
||||
if ( query.next() )
|
||||
if ( SourceList::instance() && !SourceList::instance()->getLocal().isNull() )
|
||||
SourceList::instance()->getLocal()->setLastCmdGuid( query.value( 0 ).toString() );
|
||||
|
||||
query.exec( QString( "SELECT id, name, friendlyname, lastop "
|
||||
"FROM source" ) );
|
||||
|
||||
|
Reference in New Issue
Block a user