summaryrefslogtreecommitdiff
path: root/examples/positioning/weatherinfo/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/positioning/weatherinfo/main.cpp')
-rw-r--r--examples/positioning/weatherinfo/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/positioning/weatherinfo/main.cpp b/examples/positioning/weatherinfo/main.cpp
index 6f4e0922..e60aee5d 100644
--- a/examples/positioning/weatherinfo/main.cpp
+++ b/examples/positioning/weatherinfo/main.cpp
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
qmlRegisterType<AppModel>("WeatherInfo", 1, 0, "AppModel");
//! [0]
- qRegisterMetaType<WeatherData>("WeatherData");
+ qRegisterMetaType<WeatherData>();
//! [1]
const QString mainQmlApp = QStringLiteral("qrc:///weatherinfo.qml");
QQuickView view;