mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
No need to track open popups anymore. Avoid widgets to include services directly
This commit is contained in:
@@ -4,7 +4,6 @@ import QtQuick.Layouts
|
||||
import QtQuick.Window
|
||||
import qs.Commons
|
||||
import qs.Widgets
|
||||
import qs.Services.UI
|
||||
|
||||
Popup {
|
||||
id: root
|
||||
@@ -36,11 +35,6 @@ Popup {
|
||||
selectedIcon = initialIcon
|
||||
query = initialIcon
|
||||
searchInput.forceActiveFocus()
|
||||
PanelService.willOpenPopup(root)
|
||||
}
|
||||
|
||||
onClosed: {
|
||||
PanelService.willClosePopup(root)
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
|
||||
Reference in New Issue
Block a user