From 5c7591db9ea9b1dc66a1d417c7d61746addf594f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 2 Aug 2017 08:57:44 +0200 Subject: [PATCH] Fix issues detected by Coverity, ResultsTree did not initialize all member variables --- gui/resultstree.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index e4a31be0a..3ca66568d 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -50,10 +50,16 @@ ResultsTree::ResultsTree(QWidget * parent) : QTreeView(parent), + mSettings(nullptr), + mApplications(nullptr), mContextItem(0), + mShowFullPath(false), + mSaveFullPath(false), + mSaveAllErrors(true), mShowErrorId(false), mVisibleErrors(false), - mSelectionModel(0) + mSelectionModel(0), + mThread(nullptr) { setModel(&mModel); translate(); // Adds columns to grid