Remove unused ExitRequested pyotherside event

This commit is contained in:
miruka 2021-01-09 03:51:53 -04:00
parent ddc5b8b933
commit 50d4aae188
2 changed files with 0 additions and 11 deletions

View File

@ -29,13 +29,6 @@ class PyOtherSideEvent:
pyotherside.send(type(self).__name__, *args) pyotherside.send(type(self).__name__, *args)
@dataclass
class ExitRequested(PyOtherSideEvent):
"""Request for the application to exit."""
exit_code: int = 0
@dataclass @dataclass
class NotificationRequested(PyOtherSideEvent): class NotificationRequested(PyOtherSideEvent):
"""Request a notification and window manager alert to be shown. """Request a notification and window manager alert to be shown.

View File

@ -8,10 +8,6 @@ import ".."
QtObject { QtObject {
signal deviceUpdateSignal(string forAccount) signal deviceUpdateSignal(string forAccount)
function onExitRequested(exitCode) {
Qt.exit(exitCode)
}
function onNotificationRequested(id, title, body, image, highImportance) { function onNotificationRequested(id, title, body, image, highImportance) {
const level = window.notificationLevel const level = window.notificationLevel