summaryrefslogtreecommitdiff
path: root/kwebapp
diff options
context:
space:
mode:
Diffstat (limited to 'kwebapp')
-rw-r--r--kwebapp/kwebmain.cpp4
-rw-r--r--kwebapp/urlresolver.h4
-rw-r--r--kwebapp/webpage.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/kwebapp/kwebmain.cpp b/kwebapp/kwebmain.cpp
index 08dfbaa5..815c4dc9 100644
--- a/kwebapp/kwebmain.cpp
+++ b/kwebapp/kwebmain.cpp
@@ -60,7 +60,7 @@ int main(int argc, char **argv)
KApplication app;
QWebSettings::setIconDatabasePath(KStandardDirs::locateLocal("cache", "kwebapp.favicons/"));
-
+
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
if (args->count() != 1)
{
@@ -69,7 +69,7 @@ int main(int argc, char **argv)
}
RekonqView *widg = new RekonqView();
- widg->loadUrl( UrlResolver::urlFromTextTyped(args->arg(0)) );
+ widg->loadUrl(UrlResolver::urlFromTextTyped(args->arg(0)));
widg->show();
args->clear();
diff --git a/kwebapp/urlresolver.h b/kwebapp/urlresolver.h
index 1c5ad354..47105f01 100644
--- a/kwebapp/urlresolver.h
+++ b/kwebapp/urlresolver.h
@@ -37,9 +37,9 @@
namespace UrlResolver
{
- KUrl urlFromTextTyped(const QString &);
+KUrl urlFromTextTyped(const QString &);
- bool isKDEUrl(const QString &);
+bool isKDEUrl(const QString &);
}
diff --git a/kwebapp/webpage.cpp b/kwebapp/webpage.cpp
index afe23035..827bbce1 100644
--- a/kwebapp/webpage.cpp
+++ b/kwebapp/webpage.cpp
@@ -63,7 +63,7 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r
{
QUrl reqUrl = request.url();
QString protocol = reqUrl.scheme();
-
+
// javascript handling
if (protocol == QL1S("javascript"))
{
@@ -117,7 +117,7 @@ void WebPage::handleUnsupportedContent(QNetworkReply *reply)
kDebug() << "Error: " << protocol;
return;
}
-
+
// "mailto" handling.
if (protocol == QL1S("mailto"))
{