summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/launch-intents
diff options
context:
space:
mode:
authorBernd Weimer <bernd.weimer@qt.io>2022-02-02 11:30:50 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-22 23:22:28 +0000
commit98ff299bc9482cb8d67b6d5e9e13c0c8d7103311 (patch)
tree5123bb8a1847cc907a2eae7699ac17562bf661da /examples/applicationmanager/launch-intents
parentd5e206d02daef4f98a1e4466b435247caf204580 (diff)
Fix minor issues
Whether a JS array contains a value is checked with the includes() method. Aligned default window color in single- and multi-process mode (white). Change-Id: Ie315faafceaf91224b6669de0cff40e890cf5b33 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit f9516a90fc8f5a4492b53f9e55fd8d29969d3ee4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/applicationmanager/launch-intents')
-rw-r--r--examples/applicationmanager/launch-intents/system-ui.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/applicationmanager/launch-intents/system-ui.qml b/examples/applicationmanager/launch-intents/system-ui.qml
index 7bd4c80d..3ba1cd85 100644
--- a/examples/applicationmanager/launch-intents/system-ui.qml
+++ b/examples/applicationmanager/launch-intents/system-ui.qml
@@ -58,7 +58,7 @@ Item {
IntentModel {
id: intentModel
- filterFunction: function(i) { return i.categories.contains("launcher") }
+ filterFunction: function(i) { return i.categories.includes("launcher") }
sortFunction: function(li, ri) { return li.name > ri.name }
}