From 140b258345176dfecf56f76548c7595c0262dff3 Mon Sep 17 00:00:00 2001 From: xavierqet Date: Sun, 14 Oct 2007 18:36:35 +0000 Subject: [PATCH] L'etat selectionne des elements n'est plus enregistre dans les fichiers git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@179 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- element.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/element.cpp b/element.cpp index fa3b028e7..c27830df9 100644 --- a/element.cpp +++ b/element.cpp @@ -405,7 +405,6 @@ bool Element::fromXml(QDomElement &e, QHash &table_id_adr) { int read_ori = e.attribute("orientation").toInt(&conv_ok); if (!conv_ok || read_ori < 0 || read_ori > 3) read_ori = ori.defaultOrientation(); setOrientation((QET::Orientation)read_ori); - setSelected(e.attribute("selected") == "selected"); return(true); } @@ -429,7 +428,6 @@ QDomElement Element::toXml(QDomDocument &document, QHash &table // position, selection et orientation element.setAttribute("x", pos().x()); element.setAttribute("y", pos().y()); - if (isSelected()) element.setAttribute("selected", "selected"); element.setAttribute("orientation", QString("%1").arg(ori.current())); /* recupere le premier id a utiliser pour les bornes de cet element */