summaryrefslogtreecommitdiff
path: root/kwebapp/kwebmain.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-06-05 11:38:19 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-06-08 00:39:47 +0200
commite4f47b368fe0c3380636ab8ab0cc5706518f8a2b (patch)
treeded3fbc8568870d79ac72445f141e1bd523dda99 /kwebapp/kwebmain.cpp
parentFix/improve kwebapp contextual actions (diff)
downloadrekonq-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.cpp3
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();