summaryrefslogtreecommitdiffstats
path: root/examples/webkit/framecapture/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webkit/framecapture/main.cpp')
-rw-r--r--examples/webkit/framecapture/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webkit/framecapture/main.cpp b/examples/webkit/framecapture/main.cpp
index 050947a..65c0026 100644
--- a/examples/webkit/framecapture/main.cpp
+++ b/examples/webkit/framecapture/main.cpp
@@ -63,7 +63,7 @@ int main(int argc, char * argv[])
return 0;
}
- QUrl url = QWebView::guessUrlFromString(QString::fromLatin1(argv[1]));
+ QUrl url = QUrl::fromUserInput(QString::fromLatin1(argv[1]));
QString fileName = QString::fromLatin1(argv[2]);
QApplication a(argc, argv);