diff --git a/data/images/configure.png b/data/images/configure.png old mode 100755 new mode 100644 diff --git a/data/images/home.png b/data/images/home.png old mode 100755 new mode 100644 diff --git a/data/images/music-icon.png b/data/images/music-icon.png old mode 100755 new mode 100644 diff --git a/data/images/view-refresh.png b/data/images/view-refresh.png old mode 100755 new mode 100644 diff --git a/resources.qrc b/resources.qrc index 99ca71ed5..a552367fc 100644 --- a/resources.qrc +++ b/resources.qrc @@ -63,6 +63,7 @@ ./data/images/volume-slider-level.png ./data/images/echonest_logo.png ./data/images/loading-animation.gif + ./data/images/info.png ./data/images/home.png ./data/images/back.png ./data/images/forward.png diff --git a/src/libtomahawk/playlist/playlistitemdelegate.cpp b/src/libtomahawk/playlist/playlistitemdelegate.cpp index 946e967a1..437c7acc4 100644 --- a/src/libtomahawk/playlist/playlistitemdelegate.cpp +++ b/src/libtomahawk/playlist/playlistitemdelegate.cpp @@ -36,7 +36,7 @@ #include "utils/logger.h" #define PLAYING_ICON QString( RESPATH "images/now-playing-speaker.png" ) -#define ARROW_ICON QString( RESPATH "images/forward.png" ) +#define ARROW_ICON QString( RESPATH "images/info.png" ) using namespace Tomahawk; @@ -47,7 +47,7 @@ PlaylistItemDelegate::PlaylistItemDelegate( TrackView* parent, TrackProxyModel* , m_model( proxy ) { m_nowPlayingIcon = QPixmap( PLAYING_ICON ); - m_arrowIcon = QPixmap( ARROW_ICON ); + m_arrowIcon = QPixmap( ARROW_ICON ).scaled( 14, 14, Qt::KeepAspectRatio, Qt::SmoothTransformation ); } @@ -245,7 +245,7 @@ PlaylistItemDelegate::paintDetailed( QPainter* painter, const QStyleOptionViewIt ( index.column() == TrackModel::Artist || index.column() == TrackModel::Album ) ) { opt.rect.setWidth( opt.rect.width() - 16 ); - QRect arrowRect( opt.rect.x() + opt.rect.width(), opt.rect.y(), 14, opt.rect.height() ); + QRect arrowRect( opt.rect.x() + opt.rect.width(), opt.rect.y() + 1, opt.rect.height() - 2, opt.rect.height() - 2 ); painter->drawPixmap( arrowRect, m_arrowIcon ); }