summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/webview/minibrowser/doc/src/minibrowser.qdoc2
-rw-r--r--examples/webview/minibrowser/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/webview/minibrowser/doc/src/minibrowser.qdoc b/examples/webview/minibrowser/doc/src/minibrowser.qdoc
index 3532861..20f03b0 100644
--- a/examples/webview/minibrowser/doc/src/minibrowser.qdoc
+++ b/examples/webview/minibrowser/doc/src/minibrowser.qdoc
@@ -37,7 +37,7 @@
couple of controls to navigate through the browsing history.
\note When using the Qt WebView module it is necessary to call QtWebView::initialize()
- right after creating the QGuiApplication instance. Calling QtWebView::initialize() will
+ before creating the QGuiApplication instance. Calling QtWebView::initialize() will
ensure that the necessary pre-setup steps are run.
\snippet minibrowser/main.cpp 0
diff --git a/examples/webview/minibrowser/main.cpp b/examples/webview/minibrowser/main.cpp
index 8f56731..8b4718f 100644
--- a/examples/webview/minibrowser/main.cpp
+++ b/examples/webview/minibrowser/main.cpp
@@ -79,8 +79,8 @@ QUrl Utils::fromUserInput(const QString& userInput)
int main(int argc, char *argv[])
{
//! [0]
- QGuiApplication app(argc, argv);
QtWebView::initialize();
+ QGuiApplication app(argc, argv);
//! [0]
QGuiApplication::setApplicationDisplayName(QCoreApplication::translate("main",
"QtWebView Example"));