aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin/iwelcomepage.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-03-04 11:57:32 +0100
committerEike Ziller <eike.ziller@qt.io>2021-03-05 07:34:32 +0000
commit28f53a9040a286b5892c619d3b3adbf9165d1358 (patch)
tree7122353a218aee4291092a613c5a41c6fdab7f99 /src/plugins/coreplugin/iwelcomepage.h
parentc43956ea453b033f58eca82d10c4377d51220f74 (diff)
macOS: Fix vanishing controls in Welcome mode with macOS dark mode
The example set selector and the search input field were missing some palette tweaks that were done by other classes deriving from WelcomePageFrame. Fixes: QTCREATORBUG-25405 Change-Id: I43a022aa5464a1167f94d26e945de225a436b768 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/iwelcomepage.h')
-rw-r--r--src/plugins/coreplugin/iwelcomepage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/iwelcomepage.h b/src/plugins/coreplugin/iwelcomepage.h
index bc4ea7878d..1a89b5df8c 100644
--- a/src/plugins/coreplugin/iwelcomepage.h
+++ b/src/plugins/coreplugin/iwelcomepage.h
@@ -68,6 +68,8 @@ public:
WelcomePageFrame(QWidget *parent);
void paintEvent(QPaintEvent *event) override;
+
+ static QPalette buttonPalette(bool isActive, bool isCursorInside, bool forText);
};
class CORE_EXPORT WelcomePageButton : public WelcomePageFrame