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:
parent
9ed1f28d0f
commit
c0ff9526f9
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue