0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-24 08:34:38 +03:00

fix #13 Not all members of a class are initialized inside the constructor. Consider inspecting: m_scriptManager. lrscriptenginemanager.h 89

This commit is contained in:
Arin Alexander 2016-02-20 12:16:42 +03:00
parent 5e95aceeb7
commit f390ead38b

View File

@ -86,9 +86,9 @@ class ScriptEngineModel : public QAbstractItemModel{
Q_OBJECT Q_OBJECT
public: public:
friend class ScriptEngineManager; friend class ScriptEngineManager;
explicit ScriptEngineModel():m_rootNode(new ScriptEngineNode()){} explicit ScriptEngineModel():m_scriptManager(0), m_rootNode(new ScriptEngineNode()){}
~ScriptEngineModel();
explicit ScriptEngineModel(ScriptEngineManager* scriptManager); explicit ScriptEngineModel(ScriptEngineManager* scriptManager);
~ScriptEngineModel();
QModelIndex parent(const QModelIndex &child) const; QModelIndex parent(const QModelIndex &child) const;
QModelIndex index(int row, int column, const QModelIndex &parent) const; QModelIndex index(int row, int column, const QModelIndex &parent) const;
int rowCount(const QModelIndex &parent) const; int rowCount(const QModelIndex &parent) const;