diff options
Diffstat (limited to 'examples/quick/quickwidgets/quickwidget/fbitem.cpp')
-rw-r--r-- | examples/quick/quickwidgets/quickwidget/fbitem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/quickwidgets/quickwidget/fbitem.cpp b/examples/quick/quickwidgets/quickwidget/fbitem.cpp index 7a5de991ce..6c71b6184e 100644 --- a/examples/quick/quickwidgets/quickwidget/fbitem.cpp +++ b/examples/quick/quickwidgets/quickwidget/fbitem.cpp @@ -58,7 +58,7 @@ class FbRenderer : public QQuickFramebufferObject::Renderer { public: - FbRenderer() : c(0), dir(1) { } + FbRenderer() { } // The lifetime of the FBO and this class depends on how QQuickWidget // manages the scenegraph and context when it comes to showing and hiding @@ -85,8 +85,8 @@ public: } private: - float c; - int dir; + float c = 0; + int dir = 1; }; #endif |