qml: add config setting for max brightness on qr display
This commit is contained in:
committed by
Sander van Grieken
parent
a084ccc74c
commit
6331448860
@@ -210,6 +210,10 @@ class QEAppController(BaseCrashReporter, QObject):
|
||||
it = jIntent.createChooser(sendIntent, cast('java.lang.CharSequence', jString(title)))
|
||||
jpythonActivity.startActivity(it)
|
||||
|
||||
@pyqtSlot()
|
||||
def isMaxBrightnessOnQrDisplayEnabled(self):
|
||||
return self.config.GUI_QML_SET_MAX_BRIGHTNESS_ON_QR_DISPLAY
|
||||
|
||||
@pyqtSlot()
|
||||
def setMaxScreenBrightness(self):
|
||||
self._set_screen_brightness(1.0)
|
||||
|
||||
Reference in New Issue
Block a user