diff options
author | Andy Shaw <andy.shaw@digia.com> | 2012-10-03 11:45:49 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-03 12:12:15 +0200 |
commit | c79f0f0fbaf9a1a177d771dc39eb209270c280ba (patch) | |
tree | adc181ea274b4184b66774a6dcec01fc3d029cd1 /src/gui | |
parent | 32b72283d0badb2e74b96896081fe11ad5b5a7b4 (diff) |
Change Q_ASSERT to warnings and returns for the menu classes
On Mac usually release frameworks are used during development so asserts
don't tend to get fired. Since the menu code did not crash in Qt 4.8,
it was decided that we should ensure that the same code does not crash
now so instead we warn instead of asserting for those cases.
Change-Id: I923e5591202cb2ad801074ce3ad2a11d7190cee8
Reviewed-by: James Turner <james.turner@kdab.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions