Fix compile error when gdb logout is enabled

This commit is contained in:
QuangNguyenMinh123
2026-02-14 20:28:40 +07:00
parent 67147fe8fe
commit d7206d65ba
+2 -2
View File
@@ -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);