From b23f5993f1a3ba7c80df83a1dfd7d541c525306d Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 10 Feb 2014 17:44:39 +0000 Subject: fixed radio item background color git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4070 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/radioitemdelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/qmmpui/radioitemdelegate.cpp b/src/qmmpui/radioitemdelegate.cpp index 232434343..ee0be8bea 100644 --- a/src/qmmpui/radioitemdelegate.cpp +++ b/src/qmmpui/radioitemdelegate.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2012-2013 by Ilya Kotov * + * Copyright (C) 2012-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -56,7 +56,7 @@ void RadioItemDelegate::paint(QPainter *painter, if(opt.state.testFlag(QStyle::State_Selected)) { - buttonOption.palette.setBrush(QPalette::ButtonText, + buttonOption.palette.setBrush(QPalette::WindowText, opt.palette.brush(QPalette::HighlightedText)); qApp->style()->drawPrimitive(QStyle::PE_PanelItemViewItem, &opt, painter); } -- cgit v1.2.3-13-gbd6f