From 5a89acbe826d04ac182f100ed89db315ae5fd34f Mon Sep 17 00:00:00 2001 From: qooq69 <52359859+qooq69@users.noreply.github.com> Date: Sat, 12 Mar 2022 11:40:51 +0100 Subject: [PATCH] Fixed SplitInput placeholder color (#3606) --- CHANGELOG.md | 1 + src/widgets/splits/SplitInput.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c43bde551..546f9c2ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -102,6 +102,7 @@ - Bugfix: Disabled /popout and /streamlink from working in non-twitch channels (e.g. /whispers) when supplied no arguments. (#3541) - Bugfix: Fixed automod and unban messages showing when moderation actions were disabled (#3548) - Bugfix: Fixed crash when rendering a highlight inside of a sub message, with sub message highlights themselves turned off. (#3556) +- BugFix: Fixed SplitInput placeholder color. (#3606) - Dev: Batch checking live status for channels with live notifications that aren't connected. (#3442) - Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327) - Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103) diff --git a/src/widgets/splits/SplitInput.cpp b/src/widgets/splits/SplitInput.cpp index a2d0bc6cb..3c73aa7e2 100644 --- a/src/widgets/splits/SplitInput.cpp +++ b/src/widgets/splits/SplitInput.cpp @@ -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()));