From f171f76d74cb0bdab9a8d7fad6ae72cb3dbecb65 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 8 Jun 2018 20:23:03 +0200 Subject: [PATCH] Fix warning --- app/qml/PluginItem.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/qml/PluginItem.qml b/app/qml/PluginItem.qml index a8bf570c4..d47019086 100644 --- a/app/qml/PluginItem.qml +++ b/app/qml/PluginItem.qml @@ -36,7 +36,7 @@ Kirigami.BasicListItem } visible: checker.available onClicked: { - if (component === "") + if (component === "" || !interfaceFactory) return; var obj = interfaceFactory.create(checker.device.id());