From 6961c82ac847e623d8926dae3cec492c13a6aafe Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Thu, 18 Mar 2021 12:27:30 +0100 Subject: [PATCH] Set RunnerManager runnerWindow variable if it is available CCBUG: 433173 Needed for compatibility logic in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/723 --- lib/qml/ResultsView.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/qml/ResultsView.qml b/lib/qml/ResultsView.qml index 4580580..5c03459 100644 --- a/lib/qml/ResultsView.qml +++ b/lib/qml/ResultsView.qml @@ -62,6 +62,11 @@ ListView { onQueryStringChangeRequested: { listView.updateQueryString(queryString, pos) } + Component.onCompleted: { + if (typeof runnerWindow !== "undefined") { + runnerWindow.runnerManager = runnerManager + } + } onQueryStringChanged: resetView() onModelReset: resetView() -- GitLab