From 97d5e6b526931c6724596cc3312e7a2d7c3ddaff Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Wed, 13 Apr 2022 18:04:47 +0200 Subject: [PATCH] Remove pointlessly setting the desktop widget as the job window If there is no top-level widget (like is the case in Plasma) this has no effect other than breaking the Qt6 build. See https://invent.kde.org/teams/frameworks-devs/kf6-workboard/-/issues/3#note_431586 --- applets/icon/iconapplet.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/applets/icon/iconapplet.cpp b/applets/icon/iconapplet.cpp index 0414d05d8..55a6fd4d4 100644 --- a/applets/icon/iconapplet.cpp +++ b/applets/icon/iconapplet.cpp @@ -8,7 +8,6 @@ #include #include -#include #include #include #include @@ -468,7 +467,6 @@ void IconApplet::processDrop(QObject *dropEvent) static_cast(dropEvent->property("modifiers").toInt())); KIO::DropJob *dropJob = KIO::drop(&de, m_url); - KJobWidgets::setWindow(dropJob, QApplication::desktop()); return; } }