diff options
author | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2023-05-05 10:02:02 +0200 |
---|---|---|
committer | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2023-05-05 09:21:51 +0000 |
commit | f4abb1ec4a63411cfcaec1d299a8f5603d63395b (patch) | |
tree | 1bbb3fa1397326c95604c65cc9652514a84474aa /src/plugins/terminal/terminalwidget.cpp | |
parent | 84b2862058e477736bc0b96b05e882ab00f5b407 (diff) | |
download | qt-creator-f4abb1ec4a63411cfcaec1d299a8f5603d63395b.tar.gz |
Terminal: Remove unnecessary destructor
Calling Aggregate::remove is not necessary and led to a warning message.
Change-Id: I51cdd7bfa9bdda7a3ebedf6a86e48fe54fd8f3ef
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/terminal/terminalwidget.cpp')
-rw-r--r-- | src/plugins/terminal/terminalwidget.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/terminal/terminalwidget.cpp b/src/plugins/terminal/terminalwidget.cpp index 11397d87b4..b6e48165f3 100644 --- a/src/plugins/terminal/terminalwidget.cpp +++ b/src/plugins/terminal/terminalwidget.cpp @@ -128,13 +128,6 @@ TerminalWidget::TerminalWidget(QWidget *parent, const OpenTerminalParameters &op m_aggregate->add(m_search.get()); } -TerminalWidget::~TerminalWidget() -{ - // The Aggregate stuff tries to do clever deletion of the children, but we - // we don't want that. - m_aggregate->remove(this); -} - void TerminalWidget::setupPty() { m_process = std::make_unique<Process>(); |