src/eric7/Snapshot/SnapshotRegionGrabber.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/Snapshot/SnapshotRegionGrabber.py
--- 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()

eric ide

mercurial