File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11import sys
22
33from PySide6 .QtCore import Qt
4- from PySide6 .QtGui import QIcon , QAction , QGuiApplication , QTextCursor
4+ from PySide6 .QtGui import QIcon , QAction , QTextCursor , QGuiApplication
55from PySide6 .QtWidgets import (
66 QMainWindow , QDockWidget , QMessageBox , QWidget
77)
@@ -39,9 +39,11 @@ def __init__(self):
3939 self .setWindowTitle (f"iOS reverse engineering laboratory v{ VERSION } " )
4040 self .setWindowIcon (QIcon ("img/apple.ico" ))
4141
42- screen = QGuiApplication .primaryScreen ().availableGeometry ()
43- self .resize (screen .width () - 50 , screen .height () - 50 )
44- self .move (screen .topLeft ())
42+ screen_geom = QGuiApplication .primaryScreen ().availableGeometry ()
43+ width = screen_geom .width ()
44+ height = screen_geom .height ()
45+ self .resize (width , height )
46+ self .setWindowState (Qt .WindowState .WindowMaximized )
4547
4648 central = QWidget ()
4749 self .setCentralWidget (central )
You can’t perform that action at this time.
0 commit comments