From 1eaeb46a8f3b3e5c81f11335991264720b440e07 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Wed, 9 Nov 2011 10:09:27 +0000 Subject: [PATCH] Recommit fix for icons in Salome (rollback of previous fix?) --- InterfaceQT4/qtEficas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index 77cd6878..eca8f1e6 100644 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -26,15 +26,15 @@ class Appli(Ui_Eficas,QMainWindow): self.VERSION_EFICAS="Eficas QT4 V6.3.1" self.salome=salome self.ihm="QT" - self.top = self #(pour CONFIGURATION) + self.top = self #(pour CONFIGURATION) self.QWParent=None #(Pour lancement sans IHM) self.indice=0 self.dict_reels={} self.multi=multi if self.multi == False :self.definitCode(code,ssCode) - self.RepIcon=os.path.abspath(os.path.join(os.getcwd(),'../Editeur/icons')) eficas_root_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + self.RepIcon = os.path.join(eficas_root_dir, "Editeur", "icons") self.ajoutIcones() -- 2.39.2