src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesFoldDialog.py

branch
eric7
changeset 9413
80c06d472826
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
diff -r 45e7bb09c120 -r 80c06d472826 src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesFoldDialog.py
--- a/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesFoldDialog.py	Tue Oct 18 16:05:20 2022 +0200
+++ b/src/eric7/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesFoldDialog.py	Tue Oct 18 16:06:21 2022 +0200
@@ -10,11 +10,11 @@
 from PyQt6.QtCore import pyqtSlot, Qt
 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem
 
-from EricWidgets.EricApplication import ericApp
+from eric7.EricWidgets.EricApplication import ericApp
 
 from .Ui_HgQueuesFoldDialog import Ui_HgQueuesFoldDialog
 
-import UI.PixmapCache
+from eric7.EricGui import EricPixmapCache
 
 
 class HgQueuesFoldDialog(QDialog, Ui_HgQueuesFoldDialog):
@@ -32,10 +32,10 @@
         super().__init__(parent)
         self.setupUi(self)
 
-        self.addButton.setIcon(UI.PixmapCache.getIcon("plus"))
-        self.removeButton.setIcon(UI.PixmapCache.getIcon("minus"))
-        self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow"))
-        self.downButton.setIcon(UI.PixmapCache.getIcon("1downarrow"))
+        self.addButton.setIcon(EricPixmapCache.getIcon("plus"))
+        self.removeButton.setIcon(EricPixmapCache.getIcon("minus"))
+        self.upButton.setIcon(EricPixmapCache.getIcon("1uparrow"))
+        self.downButton.setIcon(EricPixmapCache.getIcon("1downarrow"))
 
         project = ericApp().getObject("Project")
         pwl, pel = project.getProjectDictionaries()

eric ide

mercurial