Manual touch test: Add color for Qt::MouseEventSynthesizedByApplication.
Fix a warning about a missing case statement. Change-Id: Ic89646704d62668cf83c463dbf6e9b549a4b5200 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>bb10
parent
67509693bd
commit
54781edbaa
|
|
@ -261,6 +261,9 @@ QColor Point::color() const
|
|||
case Qt::MouseEventSynthesizedByQt:
|
||||
globalColor = Qt::blue;
|
||||
break;
|
||||
case Qt::MouseEventSynthesizedByApplication:
|
||||
globalColor = Qt::green;
|
||||
break;
|
||||
case Qt::MouseEventNotSynthesized:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue