From e4f47b368fe0c3380636ab8ab0cc5706518f8a2b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 5 Jun 2012 11:38:19 +0200 Subject: Added an UrlResolver class to let every url work properly here --- kwebapp/kwebmain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kwebapp/kwebmain.cpp') diff --git a/kwebapp/kwebmain.cpp b/kwebapp/kwebmain.cpp index 9e6c7452..08dfbaa5 100644 --- a/kwebapp/kwebmain.cpp +++ b/kwebapp/kwebmain.cpp @@ -26,6 +26,7 @@ // Local Includes #include "rekonqview.h" +#include "urlresolver.h" // KDE Includes #include @@ -68,7 +69,7 @@ int main(int argc, char **argv) } RekonqView *widg = new RekonqView(); - widg->loadUrl(KUrl(QUrl::fromUserInput(args->arg(0)))); + widg->loadUrl( UrlResolver::urlFromTextTyped(args->arg(0)) ); widg->show(); args->clear(); -- cgit v1.2.1