]> git.sur5r.net Git - minitube/commitdiff
Fix "recent keywords" label color
authorFlavio Tordini <flavio.tordini@gmail.com>
Wed, 16 Sep 2015 12:52:09 +0000 (14:52 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Wed, 16 Sep 2015 12:52:09 +0000 (14:52 +0200)
src/searchview.cpp
style.css

index faefd69ff3b35c0cc9b9651af4d1c9215e26a72e..e5fbae75625d8ac3c00e623407a89ace2a1333c5 100644 (file)
@@ -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);
 
index 920639e329c4747dd1bc84f7ed0a6d6fed4b6d73..a16022de26beca265be77af4f63920502eeb7c6a 100644 (file)
--- 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);
+}