diff options
| author | Frank Reininghaus <[email protected]> | 2013-09-04 21:53:08 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2013-09-04 21:53:08 +0200 |
| commit | 7b862465d4f986b5e529cf82be892590ebf6955c (patch) | |
| tree | 5394699efe17ff6529c106c3f4157086c134113a /src/settings/serviceitemdelegate.cpp | |
| parent | 4bfc28cb4bceb55996eec853da383efb44aaeeba (diff) | |
| parent | 5df1b07bbc5cf669da1fb1a4a128755e7567c6a1 (diff) | |
Merge remote-tracking branch 'origin/KDE/4.11'
Diffstat (limited to 'src/settings/serviceitemdelegate.cpp')
| -rw-r--r-- | src/settings/serviceitemdelegate.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings/serviceitemdelegate.cpp b/src/settings/serviceitemdelegate.cpp index 4cd193a07..7538e038b 100644 --- a/src/settings/serviceitemdelegate.cpp +++ b/src/settings/serviceitemdelegate.cpp @@ -69,6 +69,9 @@ void ServiceItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& o QList<QWidget*> ServiceItemDelegate::createItemWidgets() const { QCheckBox* checkBox = new QCheckBox(); + QPalette palette = checkBox->palette(); + palette.setColor(QPalette::WindowText, palette.color(QPalette::Text)); + checkBox->setPalette(palette); connect(checkBox, SIGNAL(clicked(bool)), this, SLOT(slotCheckBoxClicked(bool))); KPushButton* configureButton = new KPushButton(); |
