mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 09:04:33 +02:00
Use RESPATH macro for loading resources
This commit is contained in:
@@ -402,7 +402,7 @@ TrackView::createDragPixmap( int itemCount ) const
|
||||
int y = 0;
|
||||
for( int i = 0; i < itemCount; ++i )
|
||||
{
|
||||
const QPixmap pixmap = QPixmap( QString( ":/data/icons/audio-x-generic-%2.png" ).arg( size ) );
|
||||
const QPixmap pixmap = QPixmap( QString( RESPATH "icons/audio-x-generic-%2.png" ).arg( size ) );
|
||||
painter.drawPixmap(x, y, pixmap);
|
||||
|
||||
x += size + 1;
|
||||
|
Reference in New Issue
Block a user