Fix runtime issue introduced in 2f812cb (gerrit:#19341) 81/19481/1
authorStephane Desneux <stephane.desneux@iot.bzh>
Fri, 4 Jan 2019 16:30:51 +0000 (17:30 +0100)
committerStephane Desneux <stephane.desneux@iot.bzh>
Fri, 4 Jan 2019 16:43:53 +0000 (17:43 +0100)
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 <stephane.desneux@iot.bzh>
app/Settings.qml

index 256467b..bfcec3a 100644 (file)
@@ -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 {}
     }
 }