aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickdrawer_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickdrawer_p_p.h')
-rw-r--r--src/quicktemplates2/qquickdrawer_p_p.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/quicktemplates2/qquickdrawer_p_p.h b/src/quicktemplates2/qquickdrawer_p_p.h
index 0ceaf2e7..00055cee 100644
--- a/src/quicktemplates2/qquickdrawer_p_p.h
+++ b/src/quicktemplates2/qquickdrawer_p_p.h
@@ -59,8 +59,6 @@ class QQuickDrawerPrivate : public QQuickPopupPrivate
Q_DECLARE_PUBLIC(QQuickDrawer)
public:
- QQuickDrawerPrivate();
-
static QQuickDrawerPrivate *get(QQuickDrawer *drawer)
{
return drawer->d_func();
@@ -91,10 +89,10 @@ public:
bool setEdge(Qt::Edge edge);
- Qt::Edge edge;
- qreal offset;
- qreal position;
- qreal dragMargin;
+ Qt::Edge edge = Qt::LeftEdge;
+ qreal offset = 0;
+ qreal position = 0;
+ qreal dragMargin = 0;
QQuickVelocityCalculator velocityCalculator;
};