Index: sources/cloudsync/CloudSyncController.cpp =================================================================== diff -u -r86fd1d9da79d41a246401ba783ebb20586782eef -rc61cc19649d8fe00a20b6ee75165286f92663c46 --- sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision 86fd1d9da79d41a246401ba783ebb20586782eef) +++ sources/cloudsync/CloudSyncController.cpp (.../CloudSyncController.cpp) (revision c61cc19649d8fe00a20b6ee75165286f92663c46) @@ -1183,6 +1183,9 @@ void CloudSyncController::testReady() { bool ok = _postPass && isRegistered(); +#ifdef BUILD_FOR_DESKTOP + ok = true; +#endif emit didCloudSyncStatus( ok || gDisableCloudSyncFailStop // Development testability ); Index: sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateStack.qml =================================================================== diff -u -r2bb4b7e255c69e5b3a869f37bcbb37d7ad87870f -rc61cc19649d8fe00a20b6ee75165286f92663c46 --- sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateStack.qml (.../PreTreatmentCreateStack.qml) (revision 2bb4b7e255c69e5b3a869f37bcbb37d7ad87870f) +++ sources/gui/qml/pages/pretreatment/create/PreTreatmentCreateStack.qml (.../PreTreatmentCreateStack.qml) (revision c61cc19649d8fe00a20b6ee75165286f92663c46) @@ -45,7 +45,7 @@ return } - _root.patientID = "" + _pretreatmentPatientID.clear () page( _pretreatmentPatientID ) _pretreatmentPatientID.setFocus() } Index: sources/gui/qml/pages/settings/SettingsBase.qml =================================================================== diff -u -rad74ea129de61c891a75ecfbe68f8a77de2babcb -rc61cc19649d8fe00a20b6ee75165286f92663c46 --- sources/gui/qml/pages/settings/SettingsBase.qml (.../SettingsBase.qml) (revision ad74ea129de61c891a75ecfbe68f8a77de2babcb) +++ sources/gui/qml/pages/settings/SettingsBase.qml (.../SettingsBase.qml) (revision c61cc19649d8fe00a20b6ee75165286f92663c46) @@ -42,7 +42,7 @@ property alias title : _titleText.text property alias notificationText : _information.text - property int notificationMargin : Variables.mainMenuHeight + Variables.minVGap + property int notificationMargin : Variables.notificationHeight + Variables.minVGap property alias backVisible : _backButton .visible property alias backEnabled : _backButton .enabled @@ -103,7 +103,7 @@ textColor : Colors.white imageSource : "" text : "" - anchors.bottomMargin: _root.notificationBottomMargin + anchors.bottomMargin: _root.notificationMargin } onVisibleChanged: { Index: sources/gui/qml/pages/settings/SettingsExportLogs.qml =================================================================== diff -u -rad74ea129de61c891a75ecfbe68f8a77de2babcb -rc61cc19649d8fe00a20b6ee75165286f92663c46 --- sources/gui/qml/pages/settings/SettingsExportLogs.qml (.../SettingsExportLogs.qml) (revision ad74ea129de61c891a75ecfbe68f8a77de2babcb) +++ sources/gui/qml/pages/settings/SettingsExportLogs.qml (.../SettingsExportLogs.qml) (revision c61cc19649d8fe00a20b6ee75165286f92663c46) @@ -84,9 +84,8 @@ readonly property bool horizontalLayout : _GuiView.useLongLogName confirmVisible : false - notificationMargin : Variables.minVGap - bottomMarginContent : Variables.settingsContentBottomMargin - - Variables.mainMenuHeight // utilize the height of the main menu in its absense. + notificationMargin : Variables.notificationHeight + bottomMarginContent : Variables.settingsContentBottomMargin - Variables.minVGap function refreshModels() { _usbFolderColumn.clearModel() Index: sources/storage/TreatmentLog.cpp =================================================================== diff -u -r2467780df22b7fdfb309612abe987d116a657327 -rc61cc19649d8fe00a20b6ee75165286f92663c46 --- sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision 2467780df22b7fdfb309612abe987d116a657327) +++ sources/storage/TreatmentLog.cpp (.../TreatmentLog.cpp) (revision c61cc19649d8fe00a20b6ee75165286f92663c46) @@ -22,7 +22,6 @@ #include "FileHandler.h" #include "ApplicationController.h" #include "Logger.h" -// #include "MSettings.h" #include "Settings.h" #include "CloudSyncController.h" @@ -32,7 +31,12 @@ #define FLOAT3 0,'f',3 #define ADDTITLE(vTITLE) logContent += QString("[%1]\n").arg(vTITLE) #define ADDALINE(vTEXT ) logContent += QString("%1\n" ).arg(vTEXT ) -#define ADDTOLOG(vINDEX) index = vINDEX; logContent += title(index) + _sep + value(index) + _sep + unit(index) + "\n"; +#define ADDTOLOG( vINDEX ) index = vINDEX; logContent += title(index) + _sep + value(index) + _sep + unit(index) + "\n"; +#define ADDTOLOG_MT(vINDEX, vVALUE ) \ + index = vINDEX; \ + logContent += title(index) + _sep + \ + ( value(index).trimmed().isEmpty() ? vVALUE : value(index) ) + _sep + \ + unit(index) + "\n"; /*! * \brief TreatmentLog::TreatmentLog @@ -332,7 +336,7 @@ ADDTITLE("Title"); ADDALINE(txCode .arg(_txCodeKey).arg(_gTxCode) ); - ADDTOLOG( ePatientID ); + ADDTOLOG_MT( ePatientID, _emptyPatinetID ); ADDTITLE("Treatment Parameters" ); ADDTOLOG( eTreatmentDuration ); @@ -642,6 +646,7 @@ if ( pendingFiles.count() ) { // the most recent/first Tx file, to first ask for the current treatment which has just saved as pending on screen _pendingTxr = pendingFiles.first().absoluteFilePath(); + // DEBUG qDebug() << _pendingTxr; if (pendingTxr != _pendingTxr ) { pendingTxr = _pendingTxr; findTxCode(); Index: sources/storage/TreatmentLog.h =================================================================== diff -u -r2467780df22b7fdfb309612abe987d116a657327 -rc61cc19649d8fe00a20b6ee75165286f92663c46 --- sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision 2467780df22b7fdfb309612abe987d116a657327) +++ sources/storage/TreatmentLog.h (.../TreatmentLog.h) (revision c61cc19649d8fe00a20b6ee75165286f92663c46) @@ -89,6 +89,7 @@ QString _deviceID = "unknown"; QString _pendingTxr = ""; + QString _emptyPatinetID = "NoPatientIDEntered"; // No translation MEMBER( QString , gTxCode, ""); // content of this value is generated by VPreTreatment. MEMBER( QString , rTxCode, ""); // content of this value be received from CloudSync App.