File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import QtQuick 2.0
66import QtQuick.Controls 2.0
77import QtGraphicalEffects 1.15
88
9- import "../../glean/dist/qt .js" as Glean ;
9+ import "../../glean/dist/glean .js" as Glean ;
1010// These must be imported after Glean because they rely on Glean being in the environment.
1111import "./generated/pings.js" as Pings ;
1212import "./generated/sample.js" as Metrics ;
@@ -66,7 +66,7 @@ Rectangle {
6666
6767 Component .onCompleted : {
6868 // Initialize Glean.
69- Glean .Glean .initialize (" qt-qml-app" , true , { debug: { logPings: true }});
69+ Glean .Glean .default . initialize (" qt-qml-app" , true , { debug: { logPings: true }});
7070 Metrics .sample .appStarted .set ();
7171 // !IMPORTANT!
7272 // If this message is changed the check in bin/qt-js-check **must** be updated.
You can’t perform that action at this time.
0 commit comments