summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2020-05-04 20:11:32 +0200
committerUwe Klotz <uklotz@mixxx.org>2020-05-04 20:12:51 +0200
commit986bcb394778819ed6797ebe9a2ac49f8e5029ce (patch)
tree94150ebb0ec1a268605e0019874b924683520113 /src
parentbf538e8489761e88be22e615898768694606e558 (diff)
Remove obsolete forground color switching
Diffstat (limited to 'src')
-rw-r--r--src/widget/wsearchlineedit.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/widget/wsearchlineedit.cpp b/src/widget/wsearchlineedit.cpp
index 80f9a6aa1e..88a02688a9 100644
--- a/src/widget/wsearchlineedit.cpp
+++ b/src/widget/wsearchlineedit.cpp
@@ -377,10 +377,6 @@ void WSearchLineEdit::showPlaceholder() {
DEBUG_ASSERT(shouldShowPlaceholder(getSearchText()));
updateClearButton(kEmptySearch);
-
- QPalette pal = palette();
- pal.setColor(foregroundRole(), Qt::lightGray);
- setPalette(pal);
}
void WSearchLineEdit::showSearchText(const QString& text) {
@@ -399,10 +395,6 @@ void WSearchLineEdit::showSearchText(const QString& text) {
m_state = State::Active;
updateClearButton(text);
- QPalette pal = palette();
- pal.setColor(foregroundRole(), m_foregroundColor);
- setPalette(pal);
-
// This gets rid of the blue mac highlight.
setAttribute(Qt::WA_MacShowFocusRect, false);
}