summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-01-29 11:26:54 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-01-29 11:26:54 +0100
commit84c573e7f01b6c1f3c889fe2a6aad81ff2dd2ac1 (patch)
treebbbe68a10b97419e55ffc380e5355426864026d9
parentRestore scrollbars when using websnap features (diff)
downloadrekonq-84c573e7f01b6c1f3c889fe2a6aad81ff2dd2ac1.tar.xz
"http://www." + digited host --> "http://" + digited host
-rw-r--r--src/urlbar/completionwidget.cpp4
-rw-r--r--src/urlbar/completionwidget.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp
index 33b2f3fb..8fe70811 100644
--- a/src/urlbar/completionwidget.cpp
+++ b/src/urlbar/completionwidget.cpp
@@ -2,7 +2,7 @@
*
* This file is a part of the rekonq project
*
-* Copyright (C) 2009-2011 by Andrea Diamantini <adjam7 at gmail dot com>
+* Copyright (C) 2009-2012 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
* This program is free software; you can redistribute it and/or
@@ -278,7 +278,7 @@ bool CompletionWidget::eventFilter(QObject *obj, QEvent *ev)
if (!append.isEmpty())
{
- QUrl url(QL1S("http://www.") + w->text());
+ QUrl url(QL1S("http://") + w->text());
QString host = url.host();
if (!host.endsWith(append, Qt::CaseInsensitive))
{
diff --git a/src/urlbar/completionwidget.h b/src/urlbar/completionwidget.h
index 517a7ea6..dc4eb3a4 100644
--- a/src/urlbar/completionwidget.h
+++ b/src/urlbar/completionwidget.h
@@ -2,7 +2,7 @@
*
* This file is a part of the rekonq project
*
-* Copyright (C) 2009-2011 by Andrea Diamantini <adjam7 at gmail dot com>
+* Copyright (C) 2009-2012 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
* This program is free software; you can redistribute it and/or