_logTextBox is already owned by this object (`_logTextBox = new QPlainTextEdit(this)`) - so you don't need to explicitly delete it