src/eric7/Snapshot/SnapshotFreehandGrabber.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
--- 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()

eric ide

mercurial