[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 <alexnewmail-bugs () yahoo ! com ! br>
Date: 2005-05-06 23:09:06
Message-ID: 1115420946.147154.20567.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 410191 by aoliveira:
prevent possible hangs
CCBUG: 104881
M +4 -0 trunk/extragear/multimedia/amarok/src/collectionbrowser.cpp
--- trunk/extragear/multimedia/amarok/src/collectionbrowser.cpp #410190:410191
@@ -563,6 +563,10 @@
if ( expandable )
pixmap = iconForCategory( category );
+ //this check avoid possible problems on database errors. FIXME: Should we add \
some real error handling here, + //like calling a collection update or something?
+ if ( values.isEmpty() ) { return; }
+
for ( int i = values.count() - qb.countReturnValues(); i >= 0; i -= \
qb.countReturnValues() ) {
QString text;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic