--- a/src/eric7/Snapshot/SnapshotFreehandGrabber.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/Snapshot/SnapshotFreehandGrabber.py Sun Dec 18 19:33:46 2022 +0100 @@ -23,7 +23,7 @@ ) from PyQt6.QtWidgets import QToolTip, QWidget -from eric7 import Globals +from eric7.SystemUtilities import OSUtilities def drawPolygon(painter, polygon, outline, fill=None): @@ -104,7 +104,7 @@ """ Private slot to initialize the rest of the widget. """ - if Globals.isMacPlatform(): + if OSUtilities.isMacPlatform(): # macOS variant screen = QGuiApplication.screenAt(QCursor.pos()) geom = screen.geometry()