From 9bbd51690847b0ebb91d0fc9b7e80d92875b8be4 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Fri, 4 Jan 2019 17:30:51 +0100 Subject: Fix runtime issue introduced in 2f812cb (gerrit:#19341) example/* sources have been removed but they are still imported from app/Settings.qml. This creates the following error in the QML engine at runtime: --- Jan 04 14:20:57 h3ulcb afbd-settings@0.1[5140]: QQmlApplicationEngine failed to load component Jan 04 14:20:57 h3ulcb afbd-settings@0.1[5140]: qrc:/Settings.qml:24 "example": no such directory Jan 04 14:20:57 h3ulcb afbd-settings@0.1[5140]: QObject::connect: Cannot connect (null)::frameSwapped() to QLibWindowmanager::slotActivateWindow() --- This patch fixes the runtime issue. Change-Id: I793d5a8bb73b4257feba8b66b1ba2eb7db6db398 Signed-off-by: Stephane Desneux --- app/Settings.qml | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/Settings.qml b/app/Settings.qml index 256467b..bfcec3a 100644 --- a/app/Settings.qml +++ b/app/Settings.qml @@ -21,7 +21,6 @@ import QtQuick.Controls 2.0 import 'datetime' import 'bluetooth' import 'wifi' -import 'example' import 'version' ApplicationWindow { @@ -70,8 +69,6 @@ ApplicationWindow { Wifi {} -// Example {} - Version {} } } -- cgit 1.2.3-korg