Skip to content

Commit 878e6a2

Browse files
committed
Fixed exit action.
1 parent e254c88 commit 878e6a2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

trayIconAndWindows.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
# Built-in modules and own classes.
2-
from ctypes import alignment
2+
from sys import exit
33
from microphoneController import MicrophoneController
44
from databaseController import DatabaseController
55

66
# "pip install" modules.
7-
from PyQt5.QtCore import Qt
87
from PyQt5.QtWidgets import (
98
QWidget, QSystemTrayIcon, QMenu, QFormLayout, QLabel, QComboBox,
109
QPushButton)
1110
from PyQt5.QtGui import QIcon
1211
from pyqt5Custom import ToggleSwitch
13-
from keyboard import add_hotkey, on_press, hook
12+
from keyboard import add_hotkey
1413

1514

1615
class TrayIcon(QSystemTrayIcon):

0 commit comments

Comments
 (0)