update appid

This commit is contained in:
Vxrtrauter
2026-01-20 17:39:06 +01:00
parent 0d631e0ab8
commit 7067f243ae
+3 -8
View File
@@ -89,8 +89,8 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
if platform.system() == "Windows": if platform.system() == "Windows":
try: try:
import ctypes import ctypes
myappid = 'SoftwareManager.App.1' appid = 'SoftwareManager'
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid) ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(appid)
except Exception as e: except Exception as e:
consoleLog(f"Could not set app ID: {e}") consoleLog(f"Could not set app ID: {e}")
@@ -327,13 +327,8 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
self.emptyResults.hide() self.emptyResults.hide()
self.qtablewidget.show() self.qtablewidget.show()
# thank you claude # thank you claude
def resizeEvent(self, event): def resizeEvent(self, event):
super().resizeEvent(event) super().resizeEvent(event)
table_width = self.qtablewidget.viewport().width() table_width = self.qtablewidget.viewport().width()
self.qtablewidget.setColumnWidth(1, int(table_width * 0.3)) self.qtablewidget.setColumnWidth(1, int(table_width * 0.3))