fix: use a palette for dialogs (#6098)

This commit is contained in:
nerix
2025-03-20 14:03:46 +01:00
committed by GitHub
parent 9750f81ff0
commit a70acbfda9
6 changed files with 30 additions and 14 deletions
+1 -4
View File
@@ -219,10 +219,7 @@ void SearchPopup::themeChangedEvent()
{
BasePopup::themeChangedEvent();
// NOTE: This currently overrides the QLineEdit's font size.
// If the dialog is open when the theme is changed, things will look a bit off.
// This can be alleviated by us using a single application-wide style sheet for these things.
this->searchInput_->setStyleSheet(this->theme->splits.input.styleSheet);
this->setPalette(getTheme()->palette);
}
void SearchPopup::search()