diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-06-05 11:38:19 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-06-08 00:39:47 +0200 |
commit | e4f47b368fe0c3380636ab8ab0cc5706518f8a2b (patch) | |
tree | ded3fbc8568870d79ac72445f141e1bd523dda99 /kwebapp/kwebmain.cpp | |
parent | Fix/improve kwebapp contextual actions (diff) | |
download | rekonq-e4f47b368fe0c3380636ab8ab0cc5706518f8a2b.tar.xz |
Added an UrlResolver class to let every url work properly here
Diffstat (limited to 'kwebapp/kwebmain.cpp')
-rw-r--r-- | kwebapp/kwebmain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <KApplication> @@ -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(); |