mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Also print out size when encountering invalid generated pixmap.
This commit is contained in:
@@ -782,7 +782,7 @@ defaultPixmap( ImageType type, ImageMode mode, const QSize& size )
|
|||||||
|
|
||||||
if ( pixmap.isNull() )
|
if ( pixmap.isNull() )
|
||||||
{
|
{
|
||||||
tDebug() << "Invalid image for type:" << type;
|
tDebug() << "Invalid image for type:" << type << size;
|
||||||
Q_ASSERT( false );
|
Q_ASSERT( false );
|
||||||
return QPixmap();
|
return QPixmap();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user