Fix selection issue in qmlbars example


Qt 5.2 has changed the functionality, just setting currentIndex
is no longer enough to change the selection, too.

Change-Id: I8fd07722afe8b62523499c0d6628fc2ba0f0d9d0
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
commit2491441b11ff80b659d1f772579cd13798d28e24
parente3c7cfe82ab429f5c5e4b9fe63df2af6cc8d1b4f
authorMiikka Heikkinen <miikka.heikkinen@digia.com>
committerMiikka Heikkinen <miikka.heikkinen@digia.com>
commit timeThu, 17 Oct 2013 11:03:52 +0300