diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-05-08 13:41:53 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-05-11 11:48:06 +0200 |
commit | e0b356af9e747171dbdfc0d2935336ef14b4839d (patch) | |
tree | 65c05b70cc3f272ba7ddf0bc82a8a7e8efa7d6fa /tests/auto/qquickmenu/data/removeTakeItem.qml | |
parent | 0d18bfe6b33afc38b65f23996f1e9ffb4fba6e69 (diff) |
Menu: remove deprecated removeItem(var) overload
[ChangeLog][Controls][Menu] The deprecated removeItem(var)
function was removed. removeItem(Item) or takeItem(int) can be used
instead.
Change-Id: I79757c22b4f81e1b380798623bd1f15eb09c1647
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qquickmenu/data/removeTakeItem.qml')
-rw-r--r-- | tests/auto/qquickmenu/data/removeTakeItem.qml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/qquickmenu/data/removeTakeItem.qml b/tests/auto/qquickmenu/data/removeTakeItem.qml index 8352bffd..7e930812 100644 --- a/tests/auto/qquickmenu/data/removeTakeItem.qml +++ b/tests/auto/qquickmenu/data/removeTakeItem.qml @@ -72,10 +72,6 @@ ApplicationWindow { menu.removeItem(null) } - function removeFirstIndex() { - menu.removeItem(0) - } - Menu { id: menu MenuItem { |