TD: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 19:07:44 +01:00
parent d1d4b996e7
commit e8f9c8a1d3
146 changed files with 320 additions and 320 deletions

View File

@@ -103,7 +103,7 @@ bool ViewProviderProjGroup::setEdit(int ModNum)
Gui::TaskView::TaskDialog *dlg = Gui::Control().activeDialog();
TaskDlgProjGroup *projDlg = qobject_cast<TaskDlgProjGroup *>(dlg);
if (projDlg && projDlg->getViewProvider() != this)
projDlg = 0; // another sketch left open its task panel
projDlg = nullptr; // another sketch left open its task panel
// clear the selection (convenience)
Gui::Selection().clearSelection();