summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-01-14 15:09:25 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-01-14 15:15:22 +0100
commit03eea4d922a8e85b9cef1ed5a021638bca9dd849 (patch)
tree6041b923786d15b4cb2da4200f4682e32ce89927
parent95304102ce905cf3661f5669428bc4e5b9a418a4 (diff)
QAxServerBase: Initialize member "exception"
Fix an oversight of 20f6c67635240865d33a370230a156de0f051d07. Fixes: QTBUG-81367 Change-Id: Ia16e11713a3909b35532e0653fedbdec59109b5a Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--src/activeqt/control/qaxserverbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activeqt/control/qaxserverbase.cpp b/src/activeqt/control/qaxserverbase.cpp
index 4fb5ef3..dd64a33 100644
--- a/src/activeqt/control/qaxserverbase.cpp
+++ b/src/activeqt/control/qaxserverbase.cpp
@@ -408,7 +408,7 @@ private:
QPointer<QMenuBar> menuBar;
QPointer<QStatusBar> statusBar;
QPointer<QMenu> currentPopup;
- QAxExceptInfo *exception;
+ QAxExceptInfo *exception = nullptr;
CRITICAL_SECTION refCountSection;
CRITICAL_SECTION createWindowSection;