diff --git a/sohstationviewer.py b/sohstationviewer.py index 19c5de671759c018ca4b0691c5252ec3587b0a4c..9fa480d0c5b85a9476178f43087a9d0e2fc4f0ef 100755 --- a/sohstationviewer.py +++ b/sohstationviewer.py @@ -7,17 +7,6 @@ from PySide6 import QtWidgets from sohstationviewer.view.main_window import MainWindow -# Enable Layer-backing for MacOs version >= 11 -# Only needed if using the pyside2 library with version>=5.15. -# Layer-backing is always enabled in pyside6. -os_name, version, *_ = platform.platform().split('-') -# if os_name == 'macOS' and version >= '11': -# mac OSX 11.6 appear to be 10.16 when read with python and still required this -# environment variable -if os_name == 'macOS': - os.environ['QT_MAC_WANTS_LAYER'] = '1' - - def main(): app = QtWidgets.QApplication(sys.argv) wnd = MainWindow()