Retain tethering status between reboots
This commit is contained in:
@@ -127,6 +127,10 @@ public:
|
||||
QObject::connect(&toggle, &Toggle::stateChanged, this, &ToggleControl::toggleFlipped);
|
||||
}
|
||||
|
||||
void setVisualOn() {
|
||||
toggle.togglePosition();
|
||||
}
|
||||
|
||||
void setEnabled(bool enabled) {
|
||||
toggle.setEnabled(enabled);
|
||||
toggle.update();
|
||||
|
||||
Reference in New Issue
Block a user