Commit 97991f9b authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent 5ec245fd
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment