forked from qt-creator/qt-creator
Core: Explicitly detach QPalette in WelcomePageHelpers
Workaround for QPalette behavior change Qt 6.2.2 -> 6.2.3 Task-number: QTBUG-100439 Fixes: QTCREATORBUG-26981 Change-Id: If28195023929baf7dfeb2b0196c8339b84658488 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -66,6 +66,9 @@ IWelcomePage::~IWelcomePage()
|
||||
QPalette WelcomePageFrame::buttonPalette(bool isActive, bool isCursorInside, bool forText)
|
||||
{
|
||||
QPalette pal;
|
||||
pal.setBrush(QPalette::Window, {});
|
||||
pal.setBrush(QPalette::WindowText, {});
|
||||
|
||||
Theme *theme = Utils::creatorTheme();
|
||||
if (isActive) {
|
||||
if (forText) {
|
||||
|
||||
Reference in New Issue
Block a user