diff --git a/GUI/View/Instrument/InstrumentLibraryEditor.cpp b/GUI/View/Instrument/InstrumentLibraryEditor.cpp index fa94c2d808474648df9fea1606df0f774729f5c5..eae70270b83fa9204c66bdb0bc90fe1b3b920981 100644 --- a/GUI/View/Instrument/InstrumentLibraryEditor.cpp +++ b/GUI/View/Instrument/InstrumentLibraryEditor.cpp @@ -300,7 +300,6 @@ void InstrumentLibraryEditor::onInstrumentChangedByEditor() InstrumentLibraryEditor::TreeModel::TreeModel(QObject* parent, InstrumentModel* model) : InstrumentsTreeModel(parent, model) - , m_newInstrument(nullptr) { } diff --git a/GUI/View/Item/ItemViewOverlayButtons.cpp b/GUI/View/Item/ItemViewOverlayButtons.cpp index 497d9f0c99d20bf06c338fadea5becd167416efb..6ec49223e2d1fd6cf76cdcee350ff54d9c2d38fc 100644 --- a/GUI/View/Item/ItemViewOverlayButtons.cpp +++ b/GUI/View/Item/ItemViewOverlayButtons.cpp @@ -39,7 +39,7 @@ protected: void mouseDoubleClickEvent(QMouseEvent* event) override; private: - bool m_hover; + bool m_hover{false}; QAbstractItemView* m_view; QModelIndex m_index; Qt::Alignment m_horizontalAlignment; @@ -61,7 +61,6 @@ public: ItemViewOverlayWidget::ItemViewOverlayWidget(QAbstractItemView* view, const QModelIndex& index) : QWidget(view) - , m_hover(false) , m_view(view) , m_index(index) , m_horizontalAlignment(Qt::AlignRight) diff --git a/GUI/View/Sample/SampleEditor.cpp b/GUI/View/Sample/SampleEditor.cpp index 78c8a7af6f69a623f7d74a8b07311c474df5cb98..47cde94bc516916cf7672edbbce184d4d37f370f 100644 --- a/GUI/View/Sample/SampleEditor.cpp +++ b/GUI/View/Sample/SampleEditor.cpp @@ -28,7 +28,6 @@ SampleEditor::SampleEditor(QWidget* parent, ProjectDocument* document) : QScrollArea(parent) , m_currentSampleWidget(nullptr) - , m_currentSample(nullptr) , m_document(document) { QScrollArea::setWidgetResizable(true); diff --git a/GUI/View/Setup/MaskEditorToolpanel.cpp b/GUI/View/Setup/MaskEditorToolpanel.cpp index be9d8bb0666da0785609a5cb2d1cfb75ff4633fc..d620ca0b29fde76be0171bc95eea58995155fc81 100644 --- a/GUI/View/Setup/MaskEditorToolpanel.cpp +++ b/GUI/View/Setup/MaskEditorToolpanel.cpp @@ -30,7 +30,6 @@ MaskEditorToolpanel::MaskEditorToolpanel() : m_listView(new QListView) , m_maskContainerModel(nullptr) , m_currentMaskItem(nullptr) - , m_inhibitSelectionChange(false) { setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding); setObjectName(QLatin1String("MaskEditorToolPanel"));