双击事件

This commit is contained in:
TurnMeOn committed 2017-12-25 21:26:22 +08:00
1 parent 7b7c708a3b
commit dceb795856
3 files changed
+81 -77

No files matched your search

+1 -1
View File
@@ -282,7 +282,7 @@ void Car::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
{
if(event->button()==Qt::LeftButton)
emit out(this,-1);
event->ignore();
event->accept();
}
int Car::getTargetFloor() const