diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-01-29 11:26:54 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-01-29 11:26:54 +0100 |
commit | 84c573e7f01b6c1f3c889fe2a6aad81ff2dd2ac1 (patch) | |
tree | bbbe68a10b97419e55ffc380e5355426864026d9 /src | |
parent | Restore scrollbars when using websnap features (diff) | |
download | rekonq-84c573e7f01b6c1f3c889fe2a6aad81ff2dd2ac1.tar.xz |
"http://www." + digited host --> "http://" + digited host
Diffstat (limited to 'src')
-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 |