From 84c573e7f01b6c1f3c889fe2a6aad81ff2dd2ac1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 29 Jan 2012 11:26:54 +0100 Subject: "http://www." + digited host --> "http://" + digited host --- src/urlbar/completionwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/urlbar/completionwidget.cpp') 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 +* Copyright (C) 2009-2012 by Andrea Diamantini * * * 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)) { -- cgit v1.2.1