58 self.copyPreviewButton.setIcon(EricPixmapCache.getIcon("editCopy")) |
58 self.copyPreviewButton.setIcon(EricPixmapCache.getIcon("editCopy")) |
59 self.setWindowIcon(EricPixmapCache.getIcon("ericSnap")) |
59 self.setWindowIcon(EricPixmapCache.getIcon("ericSnap")) |
60 |
60 |
61 if DesktopUtilities.isWaylandSession(): |
61 if DesktopUtilities.isWaylandSession(): |
62 self.__grabber = None |
62 self.__grabber = None |
|
63 supportedModes = [] |
63 else: |
64 else: |
64 from .SnapshotDefaultGrabber import ( # __IGNORE_WARNING_I101__ |
65 from .SnapshotDefaultGrabber import ( # __IGNORE_WARNING_I101__ |
65 SnapshotDefaultGrabber, |
66 SnapshotDefaultGrabber, |
66 ) |
67 ) |
67 |
68 |