Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 00d5cd96 authored by Laurent Montel's avatar Laurent Montel 😁

Use nullptr

parent 9b8df694
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment