mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user