From e50e712fdd70740caaa47fa3d1ff1442e8bf6b6e Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 24 Sep 2020 17:57:06 +0100 Subject: [PATCH] Start using class NonInheritingProcess --- widgets/mainwindow.cpp | 1 + widgets/mainwindow.h | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 6a45be645..2806593a2 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1,5 +1,6 @@ //---------------------------------------------------------- MainWindow #include "mainwindow.h" + #include #include #include diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index 071ffd90d..b7c78567f 100644 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -26,6 +26,7 @@ #include #include +#include "NonInheritingProcess.hpp" #include "Audio/AudioDevice.hpp" #include "commons.h" #include "Radio.hpp" @@ -572,9 +573,9 @@ private: QFutureWatcher watcher3; QFutureWatcher m_saveWAVWatcher; - QProcess proc_jt9; - QProcess p1; - QProcess p3; + NonInheritingProcess proc_jt9; + NonInheritingProcess p1; + NonInheritingProcess p3; WSPRNet *wsprNet;