Index: sources/storage/TreatmentLog.h =================================================================== diff -u -r6d76149dca70e879f33bf6ed44203d0d06bc523a -r2912750c8e787739f2cb2069fee1b33195a9ef54 --- sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 6d76149dca70e879f33bf6ed44203d0d06bc523a) +++ sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 2912750c8e787739f2cb2069fee1b33195a9ef54) @@ -45,7 +45,8 @@ int _pendingCounter = 0 ; // QString _treatmentLogPath; - QString _treatmentLogPath_Pending; + const char* _treatmentLogExtUploaded = "txr"; + const char* _treatmentLogExtPending = "txr.p"; QFutureWatcher _saveWatcher; QFutureWatcher _exportWatcher; @@ -214,7 +215,7 @@ void initConnections(); - void logPath (Logger::LogType vLogType = Logger::eLogTrtmt, QString vLogPath = ""); + void logPath (Logger::LogType vLogType, QString vLogPath); bool saveLog (); void saveLogConcurrent (); bool exportLog (); @@ -242,8 +243,7 @@ void append(const TreatmentLogAlarmData &vData); void append(const TreatmentLogEventData &vData); - QString logPath () { return _treatmentLogPath ;} - QString logPathPending () { return _treatmentLogPath_Pending ;} + QString logPath () const { return _treatmentLogPath; } private slots: void onLogPathSet(Logger::LogType vLogType, const QString &vLogPath);