From d3d8ea841d247b4ab5b286aaa1948a82f42795af Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 14 Sep 2020 14:08:21 +0200 Subject: [PATCH] Gui: [skip ci] Coverity: Uninitialized pointer field --- src/Gui/DlgCustomizeSpaceball.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Gui/DlgCustomizeSpaceball.cpp b/src/Gui/DlgCustomizeSpaceball.cpp index 3beb244414..10986edd6a 100644 --- a/src/Gui/DlgCustomizeSpaceball.cpp +++ b/src/Gui/DlgCustomizeSpaceball.cpp @@ -651,8 +651,14 @@ QVariant PrintModel::headerData(int section, Qt::Orientation orientation, int ro /////////////////////////////////////////////////////////////////////////////////////// DlgCustomizeSpaceball::DlgCustomizeSpaceball(QWidget *parent) - : CustomizeActionPage(parent), buttonView(0), buttonModel(0), - commandView(0), commandModel(0), clearButton(0), printReference(0) + : CustomizeActionPage(parent) + , buttonView(nullptr) + , buttonModel(nullptr) + , commandView(nullptr) + , commandModel(nullptr) + , clearButton(nullptr) + , printReference(nullptr) + , devModel(nullptr) { this->setWindowTitle(tr("Spaceball Buttons")); GUIApplicationNativeEventAware *app = qobject_cast(QApplication::instance());