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>
This commit is contained in:
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…
x
Reference in New Issue
Block a user