1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 00:24:12 +02:00

* Fixed crash bug in AlbumModel.

This commit is contained in:
Christian Muehlhaeuser
2011-08-31 11:36:57 +02:00
parent 14e6a7fce4
commit 098999ca8c

View File

@@ -349,6 +349,8 @@ AlbumModel::infoSystemInfo( Tomahawk::InfoSystem::InfoRequestData requestData, Q
bool ok;
qlonglong p = pptr["pptr"].toLongLong( &ok );
AlbumItem* ai = reinterpret_cast<AlbumItem*>(p);
if ( !ai )
return;
if ( !pm.isNull() )
ai->cover = pm;