From 2c6eae4bcab06f98ca13065e8b59f1e49f7a617a Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 31 Aug 2011 15:44:14 +0200 Subject: [PATCH] Initialize member variable Change-Id: I165c267b87dc201ed4970d50e39ff7421cbef35f Reviewed-on: http://codereview.qt.nokia.com/3981 Reviewed-by: Lars Knoll --- src/gui/kernel/qguiapplication.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp index 029a89c472..79391c7c4b 100644 --- a/src/gui/kernel/qguiapplication.cpp +++ b/src/gui/kernel/qguiapplication.cpp @@ -172,7 +172,8 @@ QGuiApplication::~QGuiApplication() } QGuiApplicationPrivate::QGuiApplicationPrivate(int &argc, char **argv, int flags) - : QCoreApplicationPrivate(argc, argv, flags) + : QCoreApplicationPrivate(argc, argv, flags), + styleHints(0) { self = this; }