Gestion de deux dossiers distincts pour les descriptions XML des elements ; amelioration du panel d'appareils.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@6 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2006-10-28 19:39:43 +00:00
parent 60fe06f126
commit f0c4be6a43
8 changed files with 83 additions and 47 deletions

View File

@@ -7,8 +7,6 @@ ElementPerso::ElementPerso(QString &nom_fichier, QGraphicsItem *qgi, Schema *s,
elmt_etat = -1;
// le fichier doit exister
QString chemin_elements = "elements/";
nomfichier = chemin_elements + nom_fichier;
if (!QFileInfo(nomfichier).exists()) {
if (etat != NULL) *etat = 1;
elmt_etat = 1;