From 7fa204f16b08a3c58ec403d9e07661531b91b773 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 5 Jun 2025 16:02:25 +0000 Subject: [PATCH] qml: fix setting config.GUI_QML_SET_MAX_BRIGHTNESS_ON_QR_DISPLAY follow-up https://github.com/spesmilo/electrum/pull/9321 --- electrum/gui/qml/qeapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qml/qeapp.py b/electrum/gui/qml/qeapp.py index c8e44bfb4..5908a8107 100644 --- a/electrum/gui/qml/qeapp.py +++ b/electrum/gui/qml/qeapp.py @@ -261,7 +261,7 @@ class QEAppController(BaseCrashReporter, QObject): it = jIntent.createChooser(sendIntent, cast('java.lang.CharSequence', jString(title))) jpythonActivity.startActivity(it) - @pyqtSlot() + @pyqtSlot(result=bool) def isMaxBrightnessOnQrDisplayEnabled(self): return self.config.GUI_QML_SET_MAX_BRIGHTNESS_ON_QR_DISPLAY