aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-25 23:20:40 +0200
committerMontel Laurent <[email protected]>2017-09-25 23:20:40 +0200
commit00d5cd961782ed71b8533f98afcdc11a1f513e6d (patch)
treeabd2c3f93dce7ae98ea7a948239a9597a892c712
parent9b8df694fd687f7f2d327421225b0da9e8ec933a (diff)
Use nullptr
-rw-r--r--src/categoryhierarchyreader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/categoryhierarchyreader.h b/src/categoryhierarchyreader.h
index 609a16d..23dab47 100644
--- a/src/categoryhierarchyreader.h
+++ b/src/categoryhierarchyreader.h
@@ -79,7 +79,7 @@ class CALENDARSUPPORT_EXPORT CategoryHierarchyReaderQTreeWidget : public Categor
public:
explicit CategoryHierarchyReaderQTreeWidget(QTreeWidget *tree)
: mTree(tree)
- , mItem(0)
+ , mItem(nullptr)
, mCurrentDepth(0)
{
}
@@ -97,7 +97,7 @@ protected:
private:
QTreeWidget *mTree = nullptr;
QTreeWidgetItem *mItem = nullptr;
- int mCurrentDepth;
+ int mCurrentDepth = 0;
};
#endif
}