1
0

qml: only do android-specific stuff when on android

don't log an error when running on desktop
This commit is contained in:
SomberNight
2023-03-23 14:34:47 +00:00
parent 2231057d1e
commit 0ebcc7df63

View File

@@ -137,6 +137,8 @@ class QEAppController(BaseCrashReporter, QObject):
self.logger.error(repr(e))
def bindIntent(self):
if not self.isAndroid():
return
try:
from android import activity
from jnius import autoclass