Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -r810193ec7b4826c46c6f10813194d0c8bd7982f1 -rfea3fc898bc7f77cc8d6daba4ebad5ea651f6ffc --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 810193ec7b4826c46c6f10813194d0c8bd7982f1) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision fea3fc898bc7f77cc8d6daba4ebad5ea651f6ffc) @@ -17,6 +17,23 @@ GradientStop { position: 0.8; color: Qt.darker (Colors.backgroundMain, 1.2) } } + MouseArea { id: _mouseArea + anchors.fill : parent + // TODO: disable this later. this is only for diagnostic purpose. + onDoubleClicked : { + if ( _GuiView.dryDemoMode ) { + let dryDemoTempID = 99 + let id = vConfirm.id + vConfirm.id = dryDemoTempID + vConfirm.doConfirm( true ) + vConfirm.id = id + } + else { + _diagnosticsDialog.open() + } + } + } + Item { id: _dateTimeItem width : Variables.headerBarDateTimeWidth anchors { Index: sources/gui/qml/main.qml =================================================================== diff -u -r810193ec7b4826c46c6f10813194d0c8bd7982f1 -rfea3fc898bc7f77cc8d6daba4ebad5ea651f6ffc --- sources/gui/qml/main.qml (.../main.qml) (revision 810193ec7b4826c46c6f10813194d0c8bd7982f1) +++ sources/gui/qml/main.qml (.../main.qml) (revision fea3fc898bc7f77cc8d6daba4ebad5ea651f6ffc) @@ -324,22 +324,6 @@ anchors.top: parent.top } - SDCProgressItem { id: _sdcProgressItem - // TODO: disable this later. this is only for diagnostic purpose. - onDoubleClicked : { - if ( _GuiView.dryDemoMode ) { - let dryDemoTempID = 99 - let id = vConfirm.id - vConfirm.id = dryDemoTempID - vConfirm.doConfirm( true ) - vConfirm.id = id - } - else { - _diagnosticsDialog.open() - } - } - } - // keyboard should always be before AlarmItem to not to covet it. KeyboardItem { id: _keyboard }