summaryrefslogtreecommitdiff
path: root/src/plugins/debugger
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-03-21 08:09:35 +0100
committerhjk <hjk@qt.io>2019-09-11 06:03:40 +0000
commite9d8ff21b06d4224765b293de828f2cd1485bf3b (patch)
tree8b0f13027ef806a7f772bb34e6c641c6011fe328 /src/plugins/debugger
parentbe7c215dd74317e20199ec73e283ca54f4eac20c (diff)
downloadqt-creator-e9d8ff21b06d4224765b293de828f2cd1485bf3b.tar.gz
Remove unused QObject parent arguments on options pages
In the new plugin setup scheme they are data members of the plugin pimpl and never use the parent. Change-Id: I28fe150393e8159064dcfbd113ce0320af50fd58 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r--src/plugins/debugger/cdb/cdboptionspage.cpp5
-rw-r--r--src/plugins/debugger/cdb/cdboptionspage.h7
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/debugger/cdb/cdboptionspage.cpp b/src/plugins/debugger/cdb/cdboptionspage.cpp
index 868e554d78..1bf4fb4da4 100644
--- a/src/plugins/debugger/cdb/cdboptionspage.cpp
+++ b/src/plugins/debugger/cdb/cdboptionspage.cpp
@@ -154,9 +154,8 @@ QStringList CdbBreakEventWidget::breakEvents() const
return rc;
}
-CdbOptionsPageWidget::CdbOptionsPageWidget(QWidget *parent)
- : QWidget(parent)
- , m_breakEventWidget(new CdbBreakEventWidget)
+CdbOptionsPageWidget::CdbOptionsPageWidget()
+ : m_breakEventWidget(new CdbBreakEventWidget)
{
m_ui.setupUi(this);
// Squeeze the groupbox layouts vertically to
diff --git a/src/plugins/debugger/cdb/cdboptionspage.h b/src/plugins/debugger/cdb/cdboptionspage.h
index 9411672175..03c1bec13e 100644
--- a/src/plugins/debugger/cdb/cdboptionspage.h
+++ b/src/plugins/debugger/cdb/cdboptionspage.h
@@ -71,7 +71,8 @@ class CdbOptionsPageWidget : public QWidget
Q_OBJECT
public:
- explicit CdbOptionsPageWidget(QWidget *parent = nullptr);
+ CdbOptionsPageWidget();
+
QStringList breakEvents() const;
Utils::SavedActionSet group;
@@ -91,7 +92,7 @@ class CdbOptionsPage : public Core::IOptionsPage
Q_OBJECT
public:
- explicit CdbOptionsPage();
+ CdbOptionsPage();
~CdbOptionsPage() override;
// IOptionsPage
@@ -111,7 +112,7 @@ class CdbPathsPage : public Core::IOptionsPage
Q_OBJECT
public:
- explicit CdbPathsPage();
+ CdbPathsPage();
~CdbPathsPage() override;
static CdbPathsPage *instance();