diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2011-09-22 19:15:43 -0300 |
---|---|---|
committer | Lauro Neto <lauro.neto@openbossa.org> | 2011-09-22 19:21:56 -0300 |
commit | f7e586a982ceb3f1551f13f4698227bb510e6513 (patch) | |
tree | f978d850311e8ba269f371d53b94f9bf3b78b467 /mobility | |
parent | c362d62cac3b9696cbc707e189103144b3fd8278 (diff) |
Do not need to emit 'changed' in initial setup
Diffstat (limited to 'mobility')
-rw-r--r-- | mobility/sysinfo/qml/main.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mobility/sysinfo/qml/main.py b/mobility/sysinfo/qml/main.py index 3ef5a6f..6131ff9 100644 --- a/mobility/sysinfo/qml/main.py +++ b/mobility/sysinfo/qml/main.py @@ -79,7 +79,6 @@ class SystemInfoModel(QtCore.QObject): def setupGeneral(self): self._currentLanguage = self.systemInfo.currentLanguage() self._availableLanguages = self.systemInfo.availableLanguages() - self.emit(QtCore.SIGNAL('changed()')) def setupDevice(self): self.deviceInfo = QSystemDeviceInfo(self) @@ -115,13 +114,11 @@ class SystemInfoModel(QtCore.QObject): self._bluetoothState = self.deviceInfo.currentBluetoothPowerState() self.deviceInfo.bluetoothStateChanged.connect(self.updateBluetoothState) - self.emit(QtCore.SIGNAL('changed()')) def setupDisplay(self): self.displayInfo = QSystemDisplayInfo() self._displayBrightness = self.displayInfo.displayBrightness(0) self._colorDepth = self.displayInfo.colorDepth(0) - self.emit(QtCore.SIGNAL('changed()')) def updateBluetoothState(self, on): self._bluetoothState = on |