changed NULLs to nullptr

This commit is contained in:
itsmattkc
2019-01-12 12:57:15 +11:00
parent 6da0f29e8c
commit a8e37ac76a
59 changed files with 785 additions and 785 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ CollapsibleWidget::CollapsibleWidget(QWidget* parent) : QWidget(parent) {
set_button_icon(true);
contents = NULL;
contents = nullptr;
}
void CollapsibleWidget::header_click(bool s, bool deselect) {
@@ -74,7 +74,7 @@ void CollapsibleWidget::set_button_icon(bool open) {
}
void CollapsibleWidget::setContents(QWidget* c) {
bool existing = (contents != NULL);
bool existing = (contents != nullptr);
contents = c;
if (!existing) {
layout->addWidget(contents);