From f0a0eb66613831369047d0930ac71b18d518e803 Mon Sep 17 00:00:00 2001 From: xavierqet Date: Sat, 4 Nov 2006 11:06:07 +0000 Subject: [PATCH] Correction d'une erreur lors du chargement des elements persos git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@12 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- schema.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.cpp b/schema.cpp index a4a364444..5c2f9aa9a 100644 --- a/schema.cpp +++ b/schema.cpp @@ -298,7 +298,7 @@ Element *Schema::elementFromXml(QDomElement &e, QHash &table_id_ad // cree un element dont le type correspond à l'id type QString type = e.attribute("type"); QString chemin_fichier; - if (type.startsWith("perso://")) chemin_fichier = QETApp::commonElementsDir() + type.right(type.size()-8); + if (type.startsWith("perso://")) chemin_fichier = QETApp::customElementsDir() + type.right(type.size()-8); else chemin_fichier = QETApp::commonElementsDir() + type; int etat; Element *nvel_elmt = new ElementPerso(chemin_fichier, 0, 0, &etat);