From 97991f9b5b2594a844c6f4c72d2a5603e928e289 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 16 Feb 2017 11:39:17 +0100 Subject: [PATCH] feat(ui/modules/Common/SearchBox): remove useless code --- linphone-desktop/ui/modules/Common/SearchBox.qml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/linphone-desktop/ui/modules/Common/SearchBox.qml b/linphone-desktop/ui/modules/Common/SearchBox.qml index b42839584..1c17ef322 100644 --- a/linphone-desktop/ui/modules/Common/SearchBox.qml +++ b/linphone-desktop/ui/modules/Common/SearchBox.qml @@ -95,6 +95,7 @@ Item { desktopPopup.popupY = window.y + point.y } + // The menu is always below the search field. this.connect(window, 'heightChanged', handleCoords) this.connect(window, 'widthChanged', handleCoords) this.connect(window, 'xChanged', handleCoords) @@ -112,10 +113,6 @@ Item { DesktopPopup { id: desktopPopup - // The menu is always below the search field. - popupX: 0 - popupY: 0 - requestActivate: true onVisibleChanged: !visible && searchBox.hideMenu()