Gui: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 18:41:21 +01:00
parent be7e18757c
commit 1178df06b4
239 changed files with 1197 additions and 1197 deletions

View File

@@ -282,7 +282,7 @@ void DefaultTransformStrategy::onSelectionChanged(const Gui::SelectionChanges& m
/* TRANSLATOR Gui::Dialog::Transform */
Transform::Transform(QWidget* parent, Qt::WindowFlags fl)
: Gui::LocationDialog(parent, fl), strategy(0)
: Gui::LocationDialog(parent, fl), strategy(nullptr)
{
ui = new Ui_TransformComp(this);
ui->resetButton->hide();
@@ -431,7 +431,7 @@ TaskTransform::TaskTransform()
this->setButtonPosition(TaskTransform::South);
dialog = new Transform();
dialog->showStandardButtons(false);
taskbox = new Gui::TaskView::TaskBox(QPixmap(), dialog->windowTitle(), true, 0);
taskbox = new Gui::TaskView::TaskBox(QPixmap(), dialog->windowTitle(), true, nullptr);
taskbox->groupLayout()->addWidget(dialog);
Content.push_back(taskbox);
}