diff options
Diffstat (limited to 'kwebapp/kwebmain.cpp')
-rw-r--r-- | kwebapp/kwebmain.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kwebapp/kwebmain.cpp b/kwebapp/kwebmain.cpp index 3de5b182..639d1533 100644 --- a/kwebapp/kwebmain.cpp +++ b/kwebapp/kwebmain.cpp @@ -55,9 +55,8 @@ int main(int argc, char **argv) return 0; } - WebView *widg = new WebView; + WebView *widg = new WebView(QUrl::fromUserInput(args->arg(0))); widg->show(); - widg->load(QUrl::fromUserInput(args->arg(0))); args->clear(); return app.exec(); |