diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2014-12-01 04:34:04 -0800 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2015-01-23 12:10:54 +0100 |
commit | fb612f3d2b181742730e18ca15c0944af0b743c5 (patch) | |
tree | 4706e39aca1d3e9908fba20c90a30dfffe3a4772 /examples/webengine/quicknanobrowser/main.cpp | |
parent | a9cae7c25c67dfc21f63202a9fadba8ad20d24df (diff) |
Move newViewRequested to the public API
This moves the API to public, with proper versioning, adds
documentation and adjust the warning to also report an null parameter
to openIn that would cause the load to fail.
The experimental example code is copied from quicktestbrowser to
quicknanobrowser.
Change-Id: I23b06c7a5add0323d0540a783873584438d85ea8
Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'examples/webengine/quicknanobrowser/main.cpp')
-rw-r--r-- | examples/webengine/quicknanobrowser/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webengine/quicknanobrowser/main.cpp b/examples/webengine/quicknanobrowser/main.cpp index bcfec07c5..76cfa8397 100644 --- a/examples/webengine/quicknanobrowser/main.cpp +++ b/examples/webengine/quicknanobrowser/main.cpp @@ -76,7 +76,7 @@ int main(int argc, char **argv) QQmlApplicationEngine appEngine; Utils utils; appEngine.rootContext()->setContextProperty("utils", &utils); - appEngine.load(QUrl("qrc:/BrowserWindow.qml")); + appEngine.load(QUrl("qrc:/ApplicationRoot.qml")); QMetaObject::invokeMethod(appEngine.rootObjects().first(), "load", Q_ARG(QVariant, startupUrl())); return app.exec(); |