[qet] [2626] Update of terminal class compatibility |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 2626
Author: cfdev
Date: 2013-11-19 18:39:55 +0100 (Tue, 19 Nov 2013)
Log Message:
-----------
Update of terminal class compatibility
Modified Paths:
--------------
trunk/sources/terminal.cpp
Modified: trunk/sources/terminal.cpp
===================================================================
--- trunk/sources/terminal.cpp 2013-11-19 11:54:53 UTC (rev 2625)
+++ trunk/sources/terminal.cpp 2013-11-19 17:39:55 UTC (rev 2626)
@@ -494,7 +494,6 @@
if (!terminal.hasAttribute("x")) return(false);
if (!terminal.hasAttribute("y")) return(false);
if (!terminal.hasAttribute("orientation")) return(false);
- if (!terminal.hasAttribute("number")) return(false);
bool conv_ok;
// parse l'abscisse
@@ -527,8 +526,7 @@
return (
qFuzzyCompare(terminal.attribute("x").toDouble(), dock_elmt_.x()) &&
qFuzzyCompare(terminal.attribute("y").toDouble(), dock_elmt_.y()) &&
- terminal.attribute("orientation").toInt() == ori_ &&
- terminal.attribute("number") == number_terminal_
+ terminal.attribute("orientation").toInt() == ori_
);
}