[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src
From: Alexandre Pereira de Oliveira <aoliveira () kdemail ! net>
Date: 2006-09-06 23:16:12
Message-ID: 1157584572.077095.25839.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 581650 by aoliveira:
Let the context browser work with streams, for people without any collection.
BUG: 133548
M +12 -8 contextbrowser.cpp
--- trunk/extragear/multimedia/amarok/src/contextbrowser.cpp #581649:581650
@@ -1076,16 +1076,20 @@
}
// TODO: Show CurrentTrack or Lyric tab if they were selected
- if ( m_emptyDB && CollectionDB::instance()->isValid() && \
!MountPointManager::instance()->collectionFolders().isEmpty() ) + // If it's not a \
streaming, check for a collection + if ( !EngineController::engine()->isStream() )
{
- showScanning();
- return;
+ if ( m_emptyDB && CollectionDB::instance()->isValid() && \
!MountPointManager::instance()->collectionFolders().isEmpty() ) + {
+ showScanning();
+ return;
+ }
+ else if ( CollectionDB::instance()->isEmpty() || \
!CollectionDB::instance()->isValid() ) + {
+ showIntroduction();
+ return;
+ }
}
- else if ( CollectionDB::instance()->isEmpty() || \
!CollectionDB::instance()->isValid() )
- {
- showIntroduction();
- return;
- }
if( !m_dirtyCurrentTrackPage )
return;
m_currentURL = EngineController::instance()->bundle().url();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic