diff options
-rw-r--r-- | src/urlbar/completionwidget.cpp | 4 | ||||
-rw-r--r-- | src/urlbar/completionwidget.h | 2 |
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 |