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

@@ -47,7 +47,7 @@ using namespace Gui::Dialog;
/* TRANSLATOR Gui::Dialog::TextureMapping */
TextureMapping::TextureMapping(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl), grp(0), tex(0), env(0)
: QDialog(parent, fl), grp(nullptr), tex(nullptr), env(nullptr)
{
ui = new Ui_TextureMapping();
ui->setupUi(this);
@@ -178,7 +178,7 @@ void TextureMapping::on_checkEnv_toggled(bool b)
TaskTextureMapping::TaskTextureMapping()
{
dialog = new TextureMapping();
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);
}