From 5e95aceeb751745859c5ee14e020285871114baa Mon Sep 17 00:00:00 2001 From: Arin Alexander Date: Sat, 20 Feb 2016 12:12:14 +0300 Subject: [PATCH] fix #12 Not all members of a class are initialized inside the constructor. Consider inspecting: m_dataManager. lrdatasourcemanager.h 74 --- src/lrdatasourcemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lrdatasourcemanager.cpp b/src/lrdatasourcemanager.cpp index 998cf88..ddf7789 100644 --- a/src/lrdatasourcemanager.cpp +++ b/src/lrdatasourcemanager.cpp @@ -70,7 +70,7 @@ void DataNode::clear() DataSourceModel::DataSourceModel(DataSourceManager* dataManager) - :m_rootNode(new DataNode()) + :m_dataManager(0), m_rootNode(new DataNode()) { setDataSourceManager(dataManager); }