Mise a jour de la traduction anglaise, amelioration du dialogue "A propos" et possible resolution de la segfault survenant apres la rotation et l'effacement d'un element

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@17 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavierqet
2006-11-10 21:31:18 +00:00
parent fb0dc4f705
commit 446acbf7a2
4 changed files with 298 additions and 131 deletions

View File

@@ -112,15 +112,10 @@ QVariant Element::itemChange(GraphicsItemChange change, const QVariant &value) {
bool Element::setOrientation(Borne::Orientation o) {
// verifie que l'orientation demandee est acceptee
if (!acceptOrientation(o)) return(false);
// on cache temporairement l'element pour eviter un bug graphique
hide();
prepareGeometryChange();
// rotation en consequence et rafraichissement de l'element graphique
rotate(90.0 * (o - ori));
ori = o;
// on raffiche l'element, on le reselectionne et on le rafraichit
show();
select();
update();
return(true);
}