QtDemo: Find installed examples on Windows.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 26 Jul 2012 08:22:45 +0000 (10:22 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 26 Jul 2012 21:05:17 +0000 (23:05 +0200)
commitfc2696f151f6e19ecb93589e88c7e64796a55faa
tree81affbc0760847b3186fee301cd4691091c27240
parentd27207366b6107bc3dff49d6c444f5f7420d65ff
QtDemo: Find installed examples on Windows.

Add the '.exe' suffix before checking for the existence
of the file in the example folder and the 'Debug'/'Release'
subfolders. Clean up the code.

Task-number: QTBUG-26531
Change-Id: Idd4927558573fe68bf12f98863d0c8848257d3e2
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
demos/qtdemo/menumanager.cpp