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
This commit is contained in:
Bill Somerville 2016-07-06 20:16:38 +00:00
parent c3529c9a1b
commit 21aa890607
1 changed files with 2 additions and 0 deletions

View File

@ -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()