feat(ui/modules/Common/SearchBox): remove useless code

This commit is contained in:
Ronan Abhamon 2017-02-16 11:39:17 +01:00
parent 5ec245fd49
commit 97991f9b5b

View file

@ -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()