mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Revert r5449 and disable r5452 momentary : Load time from elements is
very slow git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -119,7 +119,7 @@ void ElementTextsMover::endMovement()
|
||||
|
||||
for (QGraphicsItem *qgi : m_items_hash.keys())
|
||||
{
|
||||
if(auto *object = dynamic_cast<QObject *>(qgi))
|
||||
if(QObject *object = dynamic_cast<QObject *>(qgi))
|
||||
{
|
||||
QPropertyUndoCommand *child_undo = new QPropertyUndoCommand(object, "pos", m_items_hash.value(qgi), qgi->pos(), undo);
|
||||
child_undo->enableAnimation();
|
||||
|
||||
Reference in New Issue
Block a user