Do not use 'state' property in mapviewer


Using 'state' as property is considered bad practice
and it can lead to undefined behavior.

Change-Id: I3a77c4849a9e68334958216200d6c469b8f3d064
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
commitb3422d4a4460f19d34611f413bea77b332838139
parentba9b7b9ef674d93680070f6c4bb1053d0d2325dd
authorMichal Klocek <michal.klocek@qt.io>
committerMichal Klocek <michal.klocek@qt.io>
commit timeTue, 20 Dec 2016 12:50:53 +0000