From e0b356af9e747171dbdfc0d2935336ef14b4839d Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 8 May 2020 13:41:53 +0200 Subject: 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 --- tests/auto/qquickmenu/data/removeTakeItem.qml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/auto/qquickmenu/data/removeTakeItem.qml') 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 { -- cgit v1.2.3