extragear/multimedia/amarok/src/servicebrowser
Mark Kretschmann
kretschmann at kde.org
Thu Jun 5 10:59:55 CEST 2008
SVN commit 817094 by markey:
Possible fix for Casey's crash.
CCMAIL: amarok-devel at kde.org
M +5 -4 ServiceAlbumCoverDownloader.cpp
--- trunk/extragear/multimedia/amarok/src/servicebrowser/ServiceAlbumCoverDownloader.cpp #817093:817094
@@ -156,14 +156,15 @@
void
ServiceAlbumCoverDownloader::coverDownloadComplete( KJob * downloadJob )
{
+ DEBUG_BLOCK
- debug() << "cover download complete";
-
if( !downloadJob || !downloadJob->error() == 0 )
{
- debug() << "error detected";
+ debug() << "Download Job failed!";
+
//we could not download, so inform album
- m_album->imageDownloadCanceled();
+ if( m_album )
+ m_album->imageDownloadCanceled();
return;
}
More information about the Amarok-devel
mailing list