Commit b4c8fd83 authored by Volker Krause's avatar Volker Krause
Browse files

Port away from KStatefulBrush::brush(const QWidget*)

Soon to be deprecated, use the QPalette overload instead.
parent f98c2e6f
Pipeline #67368 passed with stage
in 6 minutes and 45 seconds
......@@ -127,7 +127,7 @@ void TextFindWidget::setFoundMatch(bool match)
KStatefulBrush bgBrush(KColorScheme::View, bgColorScheme);
styleSheet = QStringLiteral("QLineEdit{ background-color:%1 }").arg(bgBrush.brush(mSearch).color().name());
styleSheet = QStringLiteral("QLineEdit{ background-color:%1 }").arg(bgBrush.brush(mSearch->palette()).color().name());
}
mSearch->setStyleSheet(styleSheet);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment