mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
draw selection rect in settings dialog on windows too. hope it looks okay...
This commit is contained in:
@@ -19,7 +19,7 @@ void SettingsListDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
|
||||
initStyleOption( &opt, QModelIndex() );
|
||||
qApp->style()->drawControl( QStyle::CE_ItemViewItem, &opt, painter );
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
#if defined(Q_WS_MAC) || defined(Q_WS_WIN)
|
||||
// On mac draw our own selection rect as we don't get one from osx (around the whole icon or around just text)
|
||||
if ( opt.state & QStyle::State_Selected )
|
||||
{
|
||||
|
Reference in New Issue
Block a user