[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-1/amarok/src
From: Ian Monroe <ian.monroe () gmail ! com>
Date: 2005-05-01 6:11:25
Message-ID: 20050501061125.9FF7B635 () office ! kde ! org
[Download RAW message or body]
CVS commit by ianmonroe:
using KGlobal->iconLoader() instead of initializing a KIconLoader Dhraakellian got a \
crash at this point while it appears there was an incremental scan.
M +2 -2 collectionbrowser.cpp 1.318
--- kdeextragear-1/amarok/src/collectionbrowser.cpp #1.317:1.318
@@ -37,4 +37,5 @@
#include <kconfig.h>
#include <kdialogbase.h>
+#include <kglobal.h>
#include <kiconloader.h> //renderView()
#include <klocale.h>
@@ -1187,6 +1188,5 @@ CollectionView::iconForCategory( const i
}
- KIconLoader iconLoader;
- return iconLoader.loadIcon( icon, KIcon::Toolbar, KIcon::SizeSmall );
+ return KGlobal::iconLoader()->loadIcon( icon, KIcon::Toolbar, KIcon::SizeSmall \
); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic