summaryrefslogtreecommitdiff
path: root/kwebapp/kwebmain.cpp
diff options
context:
space:
mode:
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();