[prev in list] [next in list] [prev in thread] [next in thread]
List: kopete-devel
Subject: [Kopete-devel] kdelibs/kdecore
From: Duncan Mac-Vicar Prett <duncan () kde ! org>
Date: 2002-12-30 6:32:43
[Download RAW message or body]
CVS commit by dmacvicar:
- Bug Description: moviePath() can't find movies of group KIcon:User
- Bug Cause: KIcon::User is a valid group, it is defined after LastGroup so we threat
it as a special case (rest of the code do the same), so it included KIcon:User in the invalid group
case, so the KIcon::User case was never reached.
- Fixes: Kopete connecting animations, and that's why it did't find your movies Martijn :-)
CCMAIL: klingens@kde.org,jansen@kde.org,larrosa@kde.org,kopete-devel@kde.org
M +2 -2 kiconloader.cpp 1.208
--- kdelibs/kdecore/kiconloader.cpp #1.207:1.208
@@ -845,5 +845,5 @@ QString KIconLoader::moviePath(const QSt
if (!d->mpGroups) return QString::null;
- if ((group < -1) || (group >= KIcon::LastGroup))
+ if ( ((group < -1) || (group >= KIcon::LastGroup)) && (group != KIcon::User) )
{
kdDebug(264) << "Illegal icon group: " << group << "\n";
_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic