diff options
author | Denis Shienkov <[email protected]> | 2015-11-29 18:38:21 +0300 |
---|---|---|
committer | Denis Shienkov <[email protected]> | 2015-12-07 08:49:41 +0000 |
commit | 6e2738af0e411dea3e6646655486a965c78005bc (patch) | |
tree | d21234dadbc4644025fbcbaa97708b692f775533 /src/plugins/baremetal/stlinkutilgdbserverprovider.cpp | |
parent | b6e4e966f4352797bee50a807058f755c96c2f3f (diff) |
BareMetal: Do not use QPointer if it is not required
Change-Id: Ib7162ae6b40d06bfb54705fd4b53bde2ce78083c
Reviewed-by: Tobias Hunger <[email protected]>
Reviewed-by: Tim Sander <[email protected]>
Reviewed-by: Orgad Shaneh <[email protected]>
Diffstat (limited to 'src/plugins/baremetal/stlinkutilgdbserverprovider.cpp')
-rw-r--r-- | src/plugins/baremetal/stlinkutilgdbserverprovider.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp b/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp index ccfcb366b00..ad79762e496 100644 --- a/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp +++ b/src/plugins/baremetal/stlinkutilgdbserverprovider.cpp @@ -289,31 +289,31 @@ StLinkUtilGdbServerProviderConfigWidget::StLinkUtilGdbServerProviderConfigWidget setFromProvider(); auto chooser = new Core::VariableChooser(this); - chooser->addSupportedWidget(m_initCommandsTextEdit.data()); - chooser->addSupportedWidget(m_resetCommandsTextEdit.data()); + chooser->addSupportedWidget(m_initCommandsTextEdit); + chooser->addSupportedWidget(m_resetCommandsTextEdit); - connect(m_hostWidget.data(), &HostWidget::dataChanged, + connect(m_hostWidget, &HostWidget::dataChanged, this, &GdbServerProviderConfigWidget::dirty); - connect(m_executableFileChooser.data(), &Utils::PathChooser::rawPathChanged, + connect(m_executableFileChooser, &Utils::PathChooser::rawPathChanged, this, &GdbServerProviderConfigWidget::dirty); - connect(m_verboseLevelSpinBox.data(), + connect(m_verboseLevelSpinBox, static_cast<void(QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &GdbServerProviderConfigWidget::dirty); - connect(m_extendedModeCheckBox.data(), &QAbstractButton::clicked, + connect(m_extendedModeCheckBox, &QAbstractButton::clicked, this, &GdbServerProviderConfigWidget::dirty); - connect(m_resetBoardCheckBox.data(), &QAbstractButton::clicked, + connect(m_resetBoardCheckBox, &QAbstractButton::clicked, this, &GdbServerProviderConfigWidget::dirty); - connect(m_transportLayerComboBox.data(), + connect(m_transportLayerComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &GdbServerProviderConfigWidget::dirty); - connect(m_initCommandsTextEdit.data(), &QPlainTextEdit::textChanged, + connect(m_initCommandsTextEdit, &QPlainTextEdit::textChanged, this, &GdbServerProviderConfigWidget::dirty); - connect(m_resetCommandsTextEdit.data(), &QPlainTextEdit::textChanged, + connect(m_resetCommandsTextEdit, &QPlainTextEdit::textChanged, this, &GdbServerProviderConfigWidget::dirty); - connect(m_startupModeComboBox.data(), + connect(m_startupModeComboBox, static_cast<void(QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &StLinkUtilGdbServerProviderConfigWidget::startupModeChanged); } |