aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickpane_p_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-03-23 15:26:36 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2018-03-23 17:35:39 +0000
commit6fcfb8da0ef6fd921aac524d1948ee4985392f6a (patch)
tree1613bbe8d98636cd97b02b99fc0a7b94f68907e1 /src/quicktemplates2/qquickpane_p_p.h
parentc0471d5fd13d817580a2e9cffa27f92775a2d32c (diff)
QQuickPane: cleanup content size calculation
The previous commit made it possible to avoid passing the content item around to calculate the current content size. Change-Id: I8e7713d5fe10d420461c37607cf2e4f5d8c1651c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpane_p_p.h')
-rw-r--r--src/quicktemplates2/qquickpane_p_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickpane_p_p.h b/src/quicktemplates2/qquickpane_p_p.h
index cb347e85..9d091792 100644
--- a/src/quicktemplates2/qquickpane_p_p.h
+++ b/src/quicktemplates2/qquickpane_p_p.h
@@ -73,9 +73,9 @@ public:
void contentChildrenChange();
- bool updateContentWidth(QQuickItem *item);
- bool updateContentHeight(QQuickItem *item);
- void updateContentSize(QQuickItem *item);
+ bool updateContentWidth();
+ bool updateContentHeight();
+ void updateContentSize();
bool hasContentWidth;
bool hasContentHeight;