Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -red8be1a75c2b1b3cc9f5e919fd38e135f707eac6 -r810193ec7b4826c46c6f10813194d0c8bd7982f1 --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision ed8be1a75c2b1b3cc9f5e919fd38e135f707eac6) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 810193ec7b4826c46c6f10813194d0c8bd7982f1) @@ -95,11 +95,7 @@ highlightHeight : 15 isMainTreatment : true - onHiddenChanged: { - if (hidden) { - index = 0 - } - } + onHiddenChanged: { if (hidden) { index = 0 } } } Row { id: _headerButtonRow @@ -116,7 +112,7 @@ iconImageSource : "qrc:/images/iPrescription" extraSpace : _headerButtonRow.spacing - onPressed: print("Prescription button pressed!") + onPressed : print("Prescription button pressed!") } IconButton { id : _wifiButton @@ -131,39 +127,39 @@ iconImageSource : "qrc:/images/iBluetooth" extraSpace : _headerButtonRow.spacing - onPressed: print("Bluetooth button pressed!") + onPressed : print("Bluetooth button pressed!") } IconButton { id : _cloudSyncButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iCloudSync" extraSpace : _headerButtonRow.spacing - onPressed: print("CloudSync button pressed!") + onPressed : print("CloudSync button pressed!") } IconButton { id : _storageButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iStorage" extraSpace : _headerButtonRow.spacing - onPressed: print("Storage button pressed!") + onPressed : _storageDialog.openDialog(_storageButton) } IconButton { id : _settingsButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iSettings" extraSpace : _headerButtonRow.spacing - onPressed: print("Settings button pressed!") + onPressed : print("Settings button pressed!") } IconButton { id : _informationButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iInformation" extraSpace : _headerButtonRow.spacing - onPressed: print("Information button pressed!") + onPressed : print("Information button pressed!") } } }