Commit ba81c56a authored by Tomaz  Canabrava's avatar Tomaz Canabrava Committed by Aleix Pol Gonzalez
Browse files

Let the QObject hierarchy delete a QObject child

The terminalColor is a QWidget, created with the terminal display
as parent. if we are in the destructor that means that the
TerminalDisplay will delete this object when it's needed,
do not call delete directly.
parent c3982cfb
......@@ -357,7 +357,6 @@ TerminalDisplay::~TerminalDisplay()
_outputSuspendedMessageWidget = nullptr;
delete _terminalPainter;
delete _terminalColor;
delete _printManager;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment