LiquidGUI [1.0.1.2]

- Error handling and app termination for no compatible coolers.
- Minor code refactoring.
This commit is contained in:
2023-08-18 21:37:59 +01:00
parent 9e38120cfb
commit 7b32a214df
3 changed files with 35 additions and 15 deletions
+10
View File
@@ -0,0 +1,10 @@
from PySide6.QtWidgets import QMessageBox
class MessageHandler():
def ShowNoDevicesFoundError(self):
msg = QMessageBox()
msg.setWindowTitle("LiquidGUI Error")
msg.setText("No suitable devices could be detected. Please ensure you have a cooler \
both compatible with LiquidCTL, and connected to the system.")
msg.setIcon(QMessageBox.Icon.Warning)
msg.exec()