diff options
Diffstat (limited to 'source/kde/kde/patch/plasma-workspace')
-rw-r--r-- | source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch | 39 | ||||
-rw-r--r-- | source/kde/kde/patch/plasma-workspace/c7ba560ccaac5e469cb2d6bf66c39e1acf967454.patch | 32 |
2 files changed, 0 insertions, 71 deletions
diff --git a/source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch b/source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch deleted file mode 100644 index 163ca16d3..000000000 --- a/source/kde/kde/patch/plasma-workspace/48ccb433ca79e94ef705734d9cab599f01df97e8.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 48ccb433ca79e94ef705734d9cab599f01df97e8 Mon Sep 17 00:00:00 2001 -From: Marco Martin <notmart@gmail.com> -Date: Wed, 28 Sep 2022 11:33:33 +0200 -Subject: [PATCH] set setInteractiveAuthorizationAllowed on SetPassword call - -is important that the setpasswod call uses interactive authorization, -otherwise will be denied, unless the user had been modified beforehand -so an authorization was already granted - -BUG:459309 ---- - kcms/users/src/user.cpp | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -diff --git a/kcms/users/src/user.cpp b/kcms/users/src/user.cpp -index a28d6b713a..909170d008 100644 ---- a/kcms/users/src/user.cpp -+++ b/kcms/users/src/user.cpp -@@ -225,9 +225,14 @@ void User::setPassword(const QString &password) - { - // Blocking because we need to wait for the password to be changed before we - // can ask the user about also possibly changing their KWallet password -- auto invocation = m_dbusIface->SetPassword(saltPassword(password), QString()); -- invocation.waitForFinished(); -- if (!invocation.isError()) { -+ -+ auto mc = QDBusMessage::createMethodCall(m_dbusIface->service(), m_dbusIface->path(), m_dbusIface->interface(), "SetPassword"); -+ mc.setArguments({saltPassword(password), QString()}); -+ mc.setInteractiveAuthorizationAllowed(true); -+ auto message = QDBusConnection::systemBus().call(mc); -+ -+ // Not an error or invalid message -+ if (message.type() == QDBusMessage::ReplyMessage) { - Q_EMIT passwordSuccessfullyChanged(); - } - } --- -GitLab - diff --git a/source/kde/kde/patch/plasma-workspace/c7ba560ccaac5e469cb2d6bf66c39e1acf967454.patch b/source/kde/kde/patch/plasma-workspace/c7ba560ccaac5e469cb2d6bf66c39e1acf967454.patch deleted file mode 100644 index ff5a1e663..000000000 --- a/source/kde/kde/patch/plasma-workspace/c7ba560ccaac5e469cb2d6bf66c39e1acf967454.patch +++ /dev/null @@ -1,32 +0,0 @@ -From c7ba560ccaac5e469cb2d6bf66c39e1acf967454 Mon Sep 17 00:00:00 2001 -From: Nicolas Fella <nicolas.fella@gmx.de> -Date: Sun, 21 Aug 2022 16:33:50 +0200 -Subject: [PATCH] [widgetexplorer] Don't recurse into applet's containments - -The intention of this code appears to be finding system tray applets, since the systemtray is a containment within another applet/containment - -However the code causes an infinit recursion since we are calling addContainment on the same containment again - -The recursion also is unnecessary since corona->containments() already lists the system tray containment, so we don't need to find it by recursing through the panel's children ---- - components/shellprivate/widgetexplorer/widgetexplorer.cpp | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/components/shellprivate/widgetexplorer/widgetexplorer.cpp b/components/shellprivate/widgetexplorer/widgetexplorer.cpp -index c20bd59066..6de3890d5f 100644 ---- a/components/shellprivate/widgetexplorer/widgetexplorer.cpp -+++ b/components/shellprivate/widgetexplorer/widgetexplorer.cpp -@@ -280,10 +280,6 @@ void WidgetExplorerPrivate::addContainment(Containment *containment) - - foreach (Applet *applet, containment->applets()) { - if (applet->pluginMetaData().isValid()) { -- Containment *childContainment = applet->property("containment").value<Containment *>(); -- if (childContainment) { -- addContainment(childContainment); -- } - runningApplets[applet->pluginMetaData().pluginId()]++; - } else { - qDebug() << "Invalid plugin metadata. :("; --- -GitLab - |