Commit 5b99315f authored by Konrad Materka's avatar Konrad Materka

[applets/systemtray] Default value for ItemLoader.source

Summary: When none of the valid conditions are met, function should return default value for ItemLoader source. If not, error is printed in logs.

Test Plan: No warning about undefined value for url

Reviewers: #plasma_workspaces, #plasma, ngraham

Reviewed By: ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28259
parent a9d941b3
......@@ -30,5 +30,6 @@ Loader {
} else if (model.itemType === "StatusNotifier") {
return "StatusNotifierItem.qml"
}
return ""
}
}
Markdown is supported
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