summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylehelper.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-07-18 22:29:49 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-07-30 15:02:23 +0000
commit9a51709ca6871a83afe58d26283eda63454b5214 (patch)
treed62f501f33de1db4b7427c20a2a3dcc08e2cedd0 /src/widgets/styles/qstylehelper.cpp
parent5be4e0ef1a3fdbd7462d5ceed15927012a01c07f (diff)
QMacStyle: Remove handling of defunct _q_styleObjectWindow property
It was supposed to be used in Qt Quick Controls 1, for the desktop style, but the followup patches in QQC1 never landed, and QQC1 is now deprecated. Change-Id: Iceefd523fc02a9e48b986dc33bb13a41804dd199 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/styles/qstylehelper.cpp')
-rw-r--r--src/widgets/styles/qstylehelper.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/widgets/styles/qstylehelper.cpp b/src/widgets/styles/qstylehelper.cpp
index 8679d96eda..0b910d46df 100644
--- a/src/widgets/styles/qstylehelper.cpp
+++ b/src/widgets/styles/qstylehelper.cpp
@@ -403,14 +403,6 @@ QColor backgroundColor(const QPalette &pal, const QWidget* widget)
return pal.color(QPalette::Base);
}
-QWindow *styleObjectWindow(QObject *so)
-{
- if (so)
- return so->property("_q_styleObjectWindow").value<QWindow *>();
-
- return 0;
-}
-
WidgetSizePolicy widgetSizePolicy(const QWidget *widget, const QStyleOption *opt)
{
while (widget) {