diff --git a/src/SeerGdbWidget.cpp b/src/SeerGdbWidget.cpp index 4f85348..1786aac 100644 --- a/src/SeerGdbWidget.cpp +++ b/src/SeerGdbWidget.cpp @@ -361,8 +361,8 @@ SeerGdbWidget::SeerGdbWidget (QWidget* parent) : QWidget(parent) { #if SEER_GDB_LOGOUT == 1 // Direct all GdbWidget and GdbMonitor log to GDB Log, for debugging - QObject::connect(this, &SeerGdbWidget::gdbCommandLogout, _gdbOutputLog, &SeerGdbLogWidget::handleText); - QObject::connect(_gdbMonitor, &GdbMonitor::allTextOutput, _gdbOutputLog, &SeerGdbLogWidget::handleText); + QObject::connect(this, &SeerGdbWidget::gdbCommandLogout, commandLogsWidget->gdbOutputLog(), &SeerGdbLogWidget::handleText); + QObject::connect(_gdbMonitor, &GdbMonitor::allTextOutput, commandLogsWidget->gdbOutputLog(), &SeerGdbLogWidget::handleText); #endif QObject::connect(this, &SeerGdbWidget::stateChanged, editorManagerWidget, &SeerEditorManagerWidget::handleGdbStateChanged);