From c0ff9526f92e409c4d935b585240a525632bfb61 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 7 Mar 2023 14:49:44 +0200 Subject: [PATCH] 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. --- src/popup_input_filter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/popup_input_filter.cpp b/src/popup_input_filter.cpp index 9c1ec869fa..43c2028c5d 100644 --- a/src/popup_input_filter.cpp +++ b/src/popup_input_filter.cpp @@ -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; }