Qt: Don't start the debug update timer in the constructor
This caused the timer to be active even when the debugger is initially hidden.
This commit is contained in:
@@ -87,7 +87,6 @@ debugger_frame::debugger_frame(std::shared_ptr<gui_settings> gui_settings, QWidg
|
|||||||
|
|
||||||
m_update = new QTimer(this);
|
m_update = new QTimer(this);
|
||||||
connect(m_update, &QTimer::timeout, this, &debugger_frame::UpdateUI);
|
connect(m_update, &QTimer::timeout, this, &debugger_frame::UpdateUI);
|
||||||
EnableUpdateTimer(true);
|
|
||||||
|
|
||||||
m_mono = QFontDatabase::systemFont(QFontDatabase::FixedFont);
|
m_mono = QFontDatabase::systemFont(QFontDatabase::FixedFont);
|
||||||
m_mono.setPointSize(9);
|
m_mono.setPointSize(9);
|
||||||
|
|||||||
Reference in New Issue
Block a user