Fix issues detected by Coverity, ResultsTree did not initialize all member variables

This commit is contained in:
Daniel Marjamäki 2017-08-02 08:57:44 +02:00
parent cde262fd02
commit 5c7591db9e
1 changed files with 7 additions and 1 deletions

View File

@ -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