Fixed SplitInput placeholder color (#3606)

This commit is contained in:
qooq69
2022-03-12 11:40:51 +01:00
committed by GitHub
parent 980a3e1be4
commit 5a89acbe82
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -154,10 +154,10 @@ void SplitInput::themeChangedEvent()
this->updateEmoteButton();
this->ui_.textEditLength->setPalette(palette);
this->ui_.textEdit->setStyleSheet(this->theme->splits.input.styleSheet);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
this->ui_.textEdit->setPalette(placeholderPalette);
#endif
this->ui_.textEdit->setStyleSheet(this->theme->splits.input.styleSheet);
this->ui_.hbox->setMargin(
int((this->theme->isLightTheme() ? 4 : 2) * this->scale()));