Commit 785f3e32 authored by Volker Krause's avatar Volker Krause
Browse files

Fix property type of activityCount

This is an integer in the implementation and used as such in QML. However,
due to the implicit int -> QChar -> QString conversion this actually builds
being declared as a QString.

Found by Qt6.
parent b6865005
Pipeline #157347 passed with stage
in 3 minutes and 34 seconds
......@@ -26,7 +26,7 @@ class KRunnerSettings : public KQuickAddons::ManagedConfigModule
* otherwise.
*/
Q_PROPERTY(bool doesShowPluginButton MEMBER m_doesShowPluginButton CONSTANT)
Q_PROPERTY(QString activityCount READ activityCount NOTIFY activityCountChanged)
Q_PROPERTY(int activityCount READ activityCount NOTIFY activityCountChanged)
/**
* @return @c true if activity aware is not enabled or only one activity has
* history, @c false otherwise.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment