diff --git a/UpdatePTUDevCtrl/worker.h b/UpdatePTUDevCtrl/worker.h index 6522990..2bd3aed 100644 --- a/UpdatePTUDevCtrl/worker.h +++ b/UpdatePTUDevCtrl/worker.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -522,6 +523,7 @@ private slots: bool syncCustomerRepositoryAndFS(); // bool sendIsmasLastVersionNotification(int progress); bool saveLogFile(); + void onFileChanged(QString const&); public slots: void readyReadStandardOutput(); @@ -535,6 +537,9 @@ private: QDateTime m_start; QByteArray m_standardOutput; + QFileSystemWatcher m_fileWatcher; + QFile m_updateLog; + QFile m_updateLogBackup; static const QMap smap;