Remove leftover from old times in PopupInputFilter

The windowShown connection is leftover from the times when kwin used to
not destroy the window object if the associated wl_surface has been
unmapped.
This commit is contained in:
Vlad Zahorodnii 2023-03-07 14:49:44 +02:00
parent 9ed1f28d0f
commit c0ff9526f9

View file

@ -30,7 +30,6 @@ void PopupInputFilter::handleWindowAdded(Window *window)
}
if (window->hasPopupGrab()) {
// TODO: verify that the Window is allowed as a popup
connect(window, &Window::windowShown, this, &PopupInputFilter::handleWindowAdded, Qt::UniqueConnection);
connect(window, &Window::windowClosed, this, &PopupInputFilter::handleWindowRemoved, Qt::UniqueConnection);
m_popupWindows << window;
}