TD: modernize C++11
* use nullptr
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user