From e77204a552fe48bd339f7956803a475db6df3ff3 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 6 Jul 2016 20:16:38 +0000 Subject: [PATCH] Ensure all main window child widgets are added to teh event filter This makes all child widgets able to reset the Tx watchdog by mouse click or key press. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6881 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index 96a8a84f0..083d130d3 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -337,6 +337,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, m_manual {network_manager} { ui->setupUi(this); + add_child_to_event_filter (this); m_baseCall = Radio::base_callsign (m_config.my_callsign ()); @@ -886,6 +887,7 @@ MainWindow::~MainWindow() fftwf_export_wisdom_to_filename(cfname); m_audioThread.quit (); m_audioThread.wait (); + remove_child_from_event_filter (this); } //-------------------------------------------------------- writeSettings()