Remove unused ExitRequested pyotherside event
This commit is contained in:
parent
ddc5b8b933
commit
50d4aae188
|
@ -29,13 +29,6 @@ class PyOtherSideEvent:
|
|||
pyotherside.send(type(self).__name__, *args)
|
||||
|
||||
|
||||
@dataclass
|
||||
class ExitRequested(PyOtherSideEvent):
|
||||
"""Request for the application to exit."""
|
||||
|
||||
exit_code: int = 0
|
||||
|
||||
|
||||
@dataclass
|
||||
class NotificationRequested(PyOtherSideEvent):
|
||||
"""Request a notification and window manager alert to be shown.
|
||||
|
|
|
@ -8,10 +8,6 @@ import ".."
|
|||
QtObject {
|
||||
signal deviceUpdateSignal(string forAccount)
|
||||
|
||||
function onExitRequested(exitCode) {
|
||||
Qt.exit(exitCode)
|
||||
}
|
||||
|
||||
function onNotificationRequested(id, title, body, image, highImportance) {
|
||||
const level = window.notificationLevel
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user