--- a/src/eric7/Snapshot/SnapshotRegionGrabber.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/Snapshot/SnapshotRegionGrabber.py Sun Dec 18 19:33:46 2022 +0100 @@ -22,7 +22,7 @@ ) from PyQt6.QtWidgets import QToolTip, QWidget -from eric7 import Globals +from eric7.SystemUtilities import OSUtilities def drawRect(painter, rect, outline, fill=None): @@ -134,7 +134,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()