X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/b8c3d933e66598c78180a73cb394b211ca6b52d0..cdebd199251bbdf2826bcc65fe0483420d4a6784:/src/settings/serviceitemdelegate.cpp 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 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();