From f1ffe0004258a3d825f34c54d135a9947006f74f Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Wed, 16 Sep 2015 14:52:09 +0200 Subject: [PATCH] Fix "recent keywords" label color --- src/searchview.cpp | 1 - style.css | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/searchview.cpp b/src/searchview.cpp index faefd69..e5fbae7 100644 --- a/src/searchview.cpp +++ b/src/searchview.cpp @@ -178,7 +178,6 @@ SearchView::SearchView(QWidget *parent) : View(parent) { recentKeywordsLayout->setAlignment(Qt::AlignTop | Qt::AlignLeft); recentKeywordsLabel = new QLabel(tr("Recent keywords"), this); recentKeywordsLabel->setProperty("recentHeader", true); - recentKeywordsLabel->setForegroundRole(QPalette::Dark); recentKeywordsLabel->hide(); recentKeywordsLayout->addWidget(recentKeywordsLabel); diff --git a/style.css b/style.css index 920639e..a16022d 100644 --- a/style.css +++ b/style.css @@ -81,3 +81,7 @@ SidebarHeader QComboBox::drop-down { width: 0; border-style: none; } + +QLabel[recentHeader="true"] { + color: rgba(0,0,0,128); +} -- 2.39.5