Clean up the UI

This commit is contained in:
yeah-its-gloria
2024-10-21 23:44:27 +02:00
parent dd79be0b48
commit 33b30b4aa5
3 changed files with 59 additions and 58 deletions

View File

@@ -125,6 +125,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
tree[0].insertTopLevelItems(0, self.tree_categories)
# Connect the double click signal for handling when titles are selected.
tree[0].itemDoubleClicked.connect(self.onItemClicked)
# Prevent resizing, Qt makes us look stupid here
self.setFixedSize(self.size())
# Do a quick check to see if there's a newer release available, and inform the user if there is.
worker = Worker(check_nusget_updates, app, nusget_version)
worker.signals.result.connect(self.prompt_for_update)