QWizard: provoke 'enum value not handled in switch' warnings in object_name_for_button
authorMarc Mutz <marc.mutz@kdab.com>
Fri, 25 Oct 2013 17:17:28 +0000 (19:17 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 15 Nov 2013 05:20:47 +0000 (06:20 +0100)
commit8ebaa4ce5a683837c2121351c0114d2b10574f48
tree7c87042ecfbe8d361a6a45a49c75708f00efd29c
parent9a6b005b53c7ee0f55230be5d1f21d8cc0eeb51d
QWizard: provoke 'enum value not handled in switch' warnings in object_name_for_button

This is strictly speaking a behavior change, since we're no longer returning
something for Stretch and NoButton, but - guessing here - that shouldn't matter.
Yet, better safe than sorry, thus submitted as a separate patch.

Change-Id: I20cb084147f8c9257ce37d1e87ea38febabec28d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
(cherry picked from qtbase/269590516d89a35ea3121366f7d4bf43b0d391ca)
src/gui/dialogs/qwizard.cpp