退回前一个版本
This commit is contained in:
@@ -38,11 +38,11 @@ WayPointLine::WayPointLine(WayPointItem *from, WayPointItem *to, MapGraphicItem
|
||||
connect(from, SIGNAL(aboutToBeDeleted(WayPointItem *)), this, SLOT(waypointdeleted()));
|
||||
connect(to, SIGNAL(aboutToBeDeleted(WayPointItem *)), this, SLOT(waypointdeleted()));
|
||||
if (myColor == Qt::green) {
|
||||
this->setZValue(10);
|
||||
this->setZValue(2);
|
||||
} else if (myColor == Qt::yellow) {
|
||||
this->setZValue(9);
|
||||
this->setZValue(2);
|
||||
} else if (myColor == Qt::red) {
|
||||
this->setZValue(8);
|
||||
this->setZValue(2);
|
||||
}
|
||||
connect(map, SIGNAL(childSetOpacity(qreal)), this, SLOT(setOpacitySlot(qreal)));
|
||||
}
|
||||
@@ -55,11 +55,11 @@ WayPointLine::WayPointLine(HomeItem *from, WayPointItem *to, MapGraphicItem *map
|
||||
connect(to, SIGNAL(localPositionChanged(QPointF, WayPointItem *)), this, SLOT(refreshLocations()));
|
||||
connect(to, SIGNAL(aboutToBeDeleted(WayPointItem *)), this, SLOT(waypointdeleted()));
|
||||
if (myColor == Qt::green) {
|
||||
this->setZValue(10);
|
||||
this->setZValue(2);
|
||||
} else if (myColor == Qt::yellow) {
|
||||
this->setZValue(9);
|
||||
this->setZValue(2);
|
||||
} else if (myColor == Qt::red) {
|
||||
this->setZValue(8);
|
||||
this->setZValue(2);
|
||||
}
|
||||
connect(map, SIGNAL(childSetOpacity(qreal)), this, SLOT(setOpacitySlot(qreal)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user