- fixed fullscreen functionality for PyQt6 and a few other fixes regarding the port to PyQt6

This commit is contained in:
Marius Stanciu
2021-08-05 02:00:54 +03:00
committed by Marius
parent ffce6b437f
commit e0a7afb2cd
11 changed files with 107 additions and 89 deletions

View File

@@ -4,7 +4,7 @@ import traceback
from datetime import datetime
from PyQt6 import QtWidgets
from PyQt6.QtCore import QSettings, Qt
from PyQt6.QtCore import QSettings, Qt, QTimer
from app_Main import App
from appGUI import VisPyPatches
@@ -95,10 +95,11 @@ if __name__ == '__main__':
with open(log_file_path, 'w') as f:
f.write(msg)
if minor_v >= 8:
os._exit(0)
else:
sys.exit(0)
# if minor_v >= 8:
# os._exit(0)
# else:
# sys.exit(0)
sys.exit(0)
debug_trace()
VisPyPatches.apply_patches()
@@ -159,5 +160,9 @@ if __name__ == '__main__':
fc = App(qapp=app)
timer = QTimer()
timer.timeout.connect(lambda: None)
timer.start(100)
sys.exit(app.exec())
# app.exec_()