Skip to content

Commit 9967f52

Browse files
authored
fix: Minor fix of send_notification method
1 parent a9c5e10 commit 9967f52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

headset_battery_indicator/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ def on_inactivetime_changed(self, action):
843843

844844
def send_notification(self, title, message):
845845
"""Sends a desktop notification."""
846-
self.showMessage(title, message, 10000)
846+
self.showMessage(title, message, QSystemTrayIcon.Information, 10000)
847847

848848
def update_status(self):
849849
"""Starts the background update process."""
@@ -948,4 +948,4 @@ def main():
948948

949949

950950
if __name__ == "__main__":
951-
main()
951+
main()

0 commit comments

Comments
 (0)