|
|
@ -257,9 +257,7 @@ qreal UBZLayerController::changeZLevelTo(QGraphicsItem *item, moveDestination de |
|
|
|
|
|
|
|
|
|
|
|
foreach (QGraphicsItem *iitem, sortedItems.values()) { |
|
|
|
foreach (QGraphicsItem *iitem, sortedItems.values()) { |
|
|
|
if (iitem) |
|
|
|
if (iitem) |
|
|
|
iitem != item |
|
|
|
iitem != item ? qDebug() << "current value" << iitem->zValue() : qDebug() << "marked value" << QString::number(iitem->zValue(), 'f'); |
|
|
|
? qDebug() << "current value" << iitem->zValue() |
|
|
|
|
|
|
|
: qDebug() << "marked value" << QString::number(iitem->zValue(), 'f'); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//Return new z value assigned to item
|
|
|
|
//Return new z value assigned to item
|
|
|
|