From 2b63e6e5bb7e81d516f25bfce87e700d8f944682 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Wed, 6 Mar 2013 03:22:21 -0500 Subject: [PATCH] Remove change from yesterday, as apparently m_lastCmdGuid doesn't do what I thought it does for local sources --- .../database/DatabaseCommand_LoadAllSources.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp b/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp index 4592a10cd..32fd9dc6c 100644 --- a/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp +++ b/src/libtomahawk/database/DatabaseCommand_LoadAllSources.cpp @@ -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" ) );