1
0
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:
Leo Franchi
2010-10-22 17:09:55 -04:00
parent 883be50062
commit 66d2a639d8

View File

@@ -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;