IconEditor/IconEditorWindow.py

changeset 520
b0f523c3b037
parent 495
b31b0bffa5b0
child 539
87f9bce38a44
diff -r 3636a66eb5a2 -r b0f523c3b037 IconEditor/IconEditorWindow.py
--- a/IconEditor/IconEditorWindow.py	Sun Aug 29 15:57:24 2010 +0200
+++ b/IconEditor/IconEditorWindow.py	Sun Aug 29 16:15:41 2010 +0200
@@ -11,6 +11,7 @@
 from PyQt4.QtGui import *
 
 from E5Gui.E5Action import E5Action, createActionGroup
+from E5Gui import E5FileDialog
 
 from .IconEditorGrid import IconEditorGrid
 from .IconZoomDialog import IconZoomDialog
@@ -961,7 +962,7 @@
         Private slot to open an icon file.
         """
         if self.__maybeSave():
-            fileName = QFileDialog.getOpenFileNameAndFilter(
+            fileName = E5FileDialog.getOpenFileNameAndFilter(
                 self,
                 self.trUtf8("Open icon file"),
                 "",
@@ -984,7 +985,7 @@
         """
         Private slot to save the icon with a new name.
         """
-        fileName, selectedFilter = QFileDialog.getSaveFileNameAndFilter(
+        fileName, selectedFilter = E5FileDialog.getSaveFileNameAndFilter(
             self,
             self.trUtf8("Save icon file"),
             "",

eric ide

mercurial