aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickprogressbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickprogressbar.cpp')
-rw-r--r--src/quicktemplates2/qquickprogressbar.cpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/quicktemplates2/qquickprogressbar.cpp b/src/quicktemplates2/qquickprogressbar.cpp
index c5a24f6c..041d4d88 100644
--- a/src/quicktemplates2/qquickprogressbar.cpp
+++ b/src/quicktemplates2/qquickprogressbar.cpp
@@ -89,18 +89,10 @@ QT_BEGIN_NAMESPACE
class QQuickProgressBarPrivate : public QQuickControlPrivate
{
public:
- QQuickProgressBarPrivate()
- : from(0),
- to(1.0),
- value(0),
- indeterminate(false)
- {
- }
-
- qreal from;
- qreal to;
- qreal value;
- bool indeterminate;
+ qreal from = 0;
+ qreal to = 1;
+ qreal value = 0;
+ bool indeterminate = false;
};
QQuickProgressBar::QQuickProgressBar(QQuickItem *parent)