summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qapplication_p.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-06-25 16:53:37 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-12-13 10:10:36 +0100
commitdf69364469c6816dab0f364f0687946a8d566679 (patch)
treeb5c477282cf0777bdec47d2fd9a34c80e23123d5 /src/widgets/kernel/qapplication_p.h
parent072ca960f517f0cdfcb768dcbeebba2212a6c21e (diff)
Remove QApplicationPrivate::set_pal
Its purpose was to track the default palette set by the programmer, but after 8fb881900c this is tracked by the Qt::AA_SetPalette attribute. The palette itself is always reflected 1:1 in the palette tracked by QGuiApplicationPrivate::app_pal. Change-Id: If3e84c8b3ae6070b6c50be7a33adb38799b3f3a5 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/widgets/kernel/qapplication_p.h')
-rw-r--r--src/widgets/kernel/qapplication_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/widgets/kernel/qapplication_p.h b/src/widgets/kernel/qapplication_p.h
index 3167bd423f..79d06ed98c 100644
--- a/src/widgets/kernel/qapplication_p.h
+++ b/src/widgets/kernel/qapplication_p.h
@@ -162,7 +162,6 @@ public:
static QWidgetList *popupWidgets;
static QStyle *app_style;
static QPalette *sys_pal;
- static QPalette *set_pal;
protected:
void notifyThemeChanged() override;