summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidget_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2016-09-29 07:42:39 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2016-09-29 07:42:39 +0000
commit75aea3ff5eec4a5c8f4184e14a90f4a5e3a577b0 (patch)
treefcf23325ec038627de8861c9e8f9a4aa2223feef /src/widgets/kernel/qwidget_p.h
parent433e5ccf507fc153db589df80655618f241af0c3 (diff)
parentcdb56c42fc1145ad25560720fb95df2bfa760a20 (diff)
Merge "Merge remote-tracking branch 'origin/5.7' into 5.8" into refs/staging/5.8
Diffstat (limited to 'src/widgets/kernel/qwidget_p.h')
-rw-r--r--src/widgets/kernel/qwidget_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidget_p.h b/src/widgets/kernel/qwidget_p.h
index a2579df48f..3e57f9de41 100644
--- a/src/widgets/kernel/qwidget_p.h
+++ b/src/widgets/kernel/qwidget_p.h
@@ -330,6 +330,7 @@ public:
~QWidgetPrivate();
static QWidgetPrivate *get(QWidget *w) { return w->d_func(); }
+ static const QWidgetPrivate *get(const QWidget *w) { return w->d_func(); }
QWExtra *extraData() const;
QTLWExtra *topData() const;