File notifications_last.patch of Package plasma6-workspace

diff -urN plasma-workspace-6.4.5/applets/systemtray/sortedsystemtraymodel.cpp plasma-workspace-6.4.5b/applets/systemtray/sortedsystemtraymodel.cpp
--- plasma-workspace-6.4.5/applets/systemtray/sortedsystemtraymodel.cpp	2025-10-01 16:58:52.351411361 +1000
+++ plasma-workspace-6.4.5b/applets/systemtray/sortedsystemtraymodel.cpp	2025-10-01 16:59:26.093550113 +1000
@@ -53,11 +53,11 @@
     QVariant itemIdLeft = left.data(static_cast<int>(BaseModel::BaseRole::ItemId));
     QVariant itemIdRight = right.data(static_cast<int>(BaseModel::BaseRole::ItemId));
     if (itemIdRight.toString() == QLatin1String("org.kde.plasma.notifications")) {
-        // return false when at least right is "org.kde.plasma.notifications"
-        return false;
-    } else if (itemIdLeft.toString() == QLatin1String("org.kde.plasma.notifications")) {
         // return true when only left is "org.kde.plasma.notifications"
         return true;
+    } else if (itemIdLeft.toString() == QLatin1String("org.kde.plasma.notifications")) {
+        // return false when at least right is "org.kde.plasma.notifications"
+        return false;
     }
 
     const int categoriesComparison = compareCategoriesOrderly(left, right);
openSUSE Build Service is sponsored by