replace all instances of NULL with nullptr

This commit is contained in:
Rasmus Karlsson
2017-06-11 09:37:30 +02:00
parent 1c6ff37e76
commit 9cd70877a5
15 changed files with 47 additions and 47 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ void Notebook::removePage(NotebookPage *page)
int index = _pages.indexOf(page);
if (_pages.size() == 1) {
select(NULL);
select(nullptr);
} else if (index == _pages.count() - 1) {
select(_pages[index - 1]);
} else {