mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
update appid
This commit is contained in:
@@ -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))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user