summaryrefslogtreecommitdiffstats
path: root/examples/webkit/framecapture/main.cpp
diff options
context:
space:
mode:
authorAndre Pedralho <andre.pedralho@openbossa.org>2009-11-19 16:15:38 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-11-19 16:15:38 (GMT)
commit34dbd7b720875e4e266beee66f6f41e624ea5aad (patch)
tree1e04e224d4a30080425038f05eabfc1a7c256171 /examples/webkit/framecapture/main.cpp
parentb752acf1805eebd64e7e833862690e9ebdb714e3 (diff)
downloadQt-34dbd7b720875e4e266beee66f6f41e624ea5aad.zip
Qt-34dbd7b720875e4e266beee66f6f41e624ea5aad.tar.gz
Qt-34dbd7b720875e4e266beee66f6f41e624ea5aad.tar.bz2
Updated the 'framecapture' WebKit example according to WebKit API changes.
Merge-request: 2142 Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
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);