src/eric7/UI/CompareDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/UI/CompareDialog.py
--- a/src/eric7/UI/CompareDialog.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/UI/CompareDialog.py	Tue Oct 18 16:06:21 2022 +0200
@@ -15,15 +15,15 @@
 from PyQt6.QtGui import QFontMetrics, QBrush, QTextCursor
 from PyQt6.QtWidgets import QWidget, QApplication, QDialogButtonBox
 
-from EricWidgets import EricMessageBox
-from EricWidgets.EricMainWindow import EricMainWindow
-from EricWidgets.EricPathPicker import EricPathPickerModes
+from eric7.EricWidgets import EricMessageBox
+from eric7.EricWidgets.EricMainWindow import EricMainWindow
+from eric7.EricWidgets.EricPathPicker import EricPathPickerModes
 
-import UI.PixmapCache
+from eric7.EricGui import EricPixmapCache
 
 from .Ui_CompareDialog import Ui_CompareDialog
 
-import Preferences
+from eric7 import Preferences
 
 
 def sbsdiff(a, b, linenumberwidth=4):
@@ -126,10 +126,10 @@
         self.diffButton.setEnabled(False)
         self.diffButton.setDefault(True)
 
-        self.firstButton.setIcon(UI.PixmapCache.getIcon("2uparrow"))
-        self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow"))
-        self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow"))
-        self.lastButton.setIcon(UI.PixmapCache.getIcon("2downarrow"))
+        self.firstButton.setIcon(EricPixmapCache.getIcon("2uparrow"))
+        self.upButton.setIcon(EricPixmapCache.getIcon("1uparrow"))
+        self.downButton.setIcon(EricPixmapCache.getIcon("1downarrow"))
+        self.lastButton.setIcon(EricPixmapCache.getIcon("2downarrow"))
 
         self.totalLabel.setText(self.tr("Total: {0}").format(0))
         self.changedLabel.setText(self.tr("Changed: {0}").format(0))

eric ide

mercurial