Using Normal Clock if bogus time control value from QML
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 13 Aug 2011 10:02:01 +0000 (13:02 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 13 Aug 2011 10:03:21 +0000 (13:03 +0300)
commit6e09ed464a57cb10def370f8ca78835cff3634a3
tree790bb817c845d1d20e0ec8ad3b32683effcb52cf
parent89a748eaeeab23492e142bca95c593a08f916df7
Using Normal Clock if bogus time control value from QML

Safety measure for future QML bugs. Before, non-enum values caused a
segfault. QML does not allow enumeration properties so had to use int ->
no guarantee to get just enum values.
classes/wrappedclockswidget.cpp
classes/wrappedclockswidget.h
qml/ClocksPage.qml