All pastes #174296 Raw Edit

Something

public text v1 · immutable
·published 2006-09-17 19:59 UTC
rendered paste body
@@ -7176,12 +7171,8 @@
     if ( m_query.isEmpty() )
     {
         linkTables( m_linkTables );
-        if ( !m_showAll && !m_tables.contains("tags") )
-        {
-            m_tables += ",tags";
-        }
         m_query = "SELECT " + m_values + " FROM " + m_tables + ' ' + m_join + " WHERE " + CollectionDB::instance()->boolT() + ' ' + m_where;
-        if ( !m_showAll )
+        if ( !m_showAll && m_tables.contains( "tags" ) )
         {
             IdList list = MountPointManager::instance()->getMountedDeviceIds();
             QString deviceIds = "";