diff options
author | Andy Shaw <andy.shaw@digia.com> | 2012-10-10 11:23:31 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-16 15:29:15 +0200 |
commit | dc0927f2b8abea2b10a3c7aa6c20280e229d858c (patch) | |
tree | 447a01fe2a0f5a77c44d06d2777e83518f992660 /header.BSD | |
parent | f144d538fdb3efd475c55b8af3a99555e448c924 (diff) |
Check if there is an old item before removing it
If something had changed with the menu item before it had actually been
originally added to the native menu then this would crash when trying
to remove a null item from the native menu. This prevents that from
happening.
Change-Id: I8d78b5504759225364d5fd051a23c8d6dbd7d1eb
Reviewed-by: James Turner <james.turner@kdab.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'header.BSD')
0 files changed, 0 insertions, 0 deletions