summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2023-05-04 16:13:34 +0200
committerRobert Griebl <robert.griebl@qt.io>2023-05-04 16:20:27 +0200
commit64723380fe2799cb53bedce38d66cc5af8dbea2e (patch)
tree142ee185253a0cce439ccce44d8622a524003b6c
parent82b6a97147ff3e921998fcec269b79c842ee432f (diff)
downloadqtapplicationmanager-64723380fe2799cb53bedce38d66cc5af8dbea2e.tar.gz
Fix API breakage introduced in 6.5.0
The DBus API cleanup commit 4a14abf206c548b80f2942c4d42e23b0e97ddeb1 for 6.5.0 accidentally broke the NotificationManager.count and the ApplicationManager.containerSelectionFunction properties. Change-Id: I87ccd8c695e8b9d18a5e4d09aaebd335bc8457c9 Pick-to: 6.5 6.5.1 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
-rw-r--r--src/manager-lib/applicationmanager.h2
-rw-r--r--src/manager-lib/notificationmanager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/manager-lib/applicationmanager.h b/src/manager-lib/applicationmanager.h
index d535acae..3b69b7d2 100644
--- a/src/manager-lib/applicationmanager.h
+++ b/src/manager-lib/applicationmanager.h
@@ -49,7 +49,7 @@ class ApplicationManager : public QAbstractListModel
Q_PROPERTY(bool dummy READ isDummy CONSTANT) // set to false here and true in the dummydata imports
Q_PROPERTY(bool windowManagerCompositorReady READ isWindowManagerCompositorReady NOTIFY windowManagerCompositorReadyChanged)
Q_PROPERTY(QVariantMap systemProperties READ systemProperties CONSTANT)
- Q_PROPERTY(QJSValue containerSelectionFunction READ containerSelectionFunction WRITE setContainerSelectionFunction NOTIFY containerSelectionFunctionChanged SCRIPTABLE false)
+ Q_PROPERTY(QJSValue containerSelectionFunction READ containerSelectionFunction WRITE setContainerSelectionFunction NOTIFY containerSelectionFunctionChanged)
public:
~ApplicationManager() override;
diff --git a/src/manager-lib/notificationmanager.h b/src/manager-lib/notificationmanager.h
index a271ab51..ace0d4aa 100644
--- a/src/manager-lib/notificationmanager.h
+++ b/src/manager-lib/notificationmanager.h
@@ -22,7 +22,7 @@ class NotificationManager : public QAbstractListModel
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Notifications")
Q_CLASSINFO("AM-QmlType", "QtApplicationManager.SystemUI/NotificationManager 2.0 SINGLETON")
- Q_PROPERTY(int count READ count NOTIFY countChanged SCRIPTABLE false)
+ Q_PROPERTY(int count READ count NOTIFY countChanged)
public:
~NotificationManager() override;