Index: sources/device/DeviceView.cpp =================================================================== diff -u -r94c7a571dc12f24aa072ac2b14199432ce9f3821 -r46c55a9eeb75ac84fbcd6160a2318c459672936a --- sources/device/DeviceView.cpp (.../DeviceView.cpp) (revision 94c7a571dc12f24aa072ac2b14199432ce9f3821) +++ sources/device/DeviceView.cpp (.../DeviceView.cpp) (revision 46c55a9eeb75ac84fbcd6160a2318c459672936a) @@ -28,7 +28,6 @@ void VDevice::initConnections() { - ACTION_VIEW_CONNECTION(SettingsData) DEVICE_VIEW_INIT_CONNECTIONS_LIST connect(&_DeviceController , SIGNAL(didPOSTOSVersionData(QString)), this , SLOT( onPOSTOSVersionData(QString))); @@ -627,15 +626,5 @@ ipAddress(vData); } -// ================================================= User Mode -/*! - * \brief VDevice::onSettingsDone - * \details fills the items below, read from the settings file, when the reading is notified done by ApplicationController. - */ -void VDevice::onActionReceive(const SettingsData &) -{ - QString mCategory = Storage::Settings_Category_SettingsSystem; - FROMVARIANT( userMode, "UserMode", "UserMode", UInt ); -} Index: sources/device/DeviceView.h =================================================================== diff -u -r94c7a571dc12f24aa072ac2b14199432ce9f3821 -r46c55a9eeb75ac84fbcd6160a2318c459672936a --- sources/device/DeviceView.h (.../DeviceView.h) (revision 94c7a571dc12f24aa072ac2b14199432ce9f3821) +++ sources/device/DeviceView.h (.../DeviceView.h) (revision 46c55a9eeb75ac84fbcd6160a2318c459672936a) @@ -23,7 +23,6 @@ #include "VView.h" #include "DeviceGlobals.h" #include "DeviceModels.h" -#include "MSettings.h" // define @@ -129,11 +128,7 @@ READONLY ( QString , subnetMask , "" ) READONLY ( QString , dns , "" ) - READONLY ( bool , userMode , 0 ) - - VIEW_DEC_CLASS_EX(VDevice, QAbstractListModel) - VIEW_DEC_SLOT(SettingsData) public slots: void doWifiConnect(bool vConnect, const QString &vSsid, const QString &vPassword); Index: sources/gui/qml/pages/settings/SettingsUserMode.qml =================================================================== diff -u -redb8ee3edc41b1d324cd8a53e8e27a2a58289563 -r46c55a9eeb75ac84fbcd6160a2318c459672936a --- sources/gui/qml/pages/settings/SettingsUserMode.qml (.../SettingsUserMode.qml) (revision edb8ee3edc41b1d324cd8a53e8e27a2a58289563) +++ sources/gui/qml/pages/settings/SettingsUserMode.qml (.../SettingsUserMode.qml) (revision 46c55a9eeb75ac84fbcd6160a2318c459672936a) @@ -40,7 +40,7 @@ contentArea.anchors.leftMargin : width * 0.75 contentItem: BaseSwitch { id: _settingsUserMode - checked : vDevice.userMode + checked : vSettings.userMode onClicked: { vSettings.userMode = _settingsUserMode.checked