Mesh: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 19:08:10 +01:00
parent e8f9c8a1d3
commit ec4d8a7500
4 changed files with 7 additions and 7 deletions

View File

@@ -63,7 +63,7 @@ Workbench::~Workbench()
class MeshInfoWatcher : public Gui::TaskView::TaskWatcher, public Gui::SelectionObserver
{
public:
MeshInfoWatcher() : TaskWatcher(0)
MeshInfoWatcher() : TaskWatcher(nullptr)
{
labelPoints = new QLabel();
labelPoints->setText(QString::fromLatin1("Number of points:"));
@@ -98,7 +98,7 @@ public:
grid->addWidget(numMax, 3, 1);
Gui::TaskView::TaskBox* taskbox = new Gui::TaskView::TaskBox(
QPixmap(), QString::fromLatin1("Mesh info"), false, 0);
QPixmap(), QString::fromLatin1("Mesh info"), false, nullptr);
taskbox->groupLayout()->addWidget(box);
Content.push_back(taskbox);
}