From a1b660daae9dd252d84ec44e8a5102277539b395 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 12 Dec 2012 18:47:35 +0100 Subject: - Code style check (codestyle script round) - restored CTRL + ENTER code - applied Vedant's patch about (thanks!!!) CCMAIL: vedant.kota@gmail.com REVIEW: 107662 REVIEWED-BY: Tirtha and me --- src/urlbar/urlsuggester.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/urlbar/urlsuggester.cpp') diff --git a/src/urlbar/urlsuggester.cpp b/src/urlbar/urlsuggester.cpp index 7fbb2204..d6aaaf52 100644 --- a/src/urlbar/urlsuggester.cpp +++ b/src/urlbar/urlsuggester.cpp @@ -139,7 +139,7 @@ UrlSuggestionList UrlSuggester::orderedSearchItems() // << QL1S("about:tabs") // << QL1S("about:info") ; - + QStringList aboutUrlResults = aboutUrlList.filter(_typedString, Qt::CaseInsensitive); UrlSuggestionList list; @@ -281,7 +281,7 @@ UrlSuggestionList UrlSuggester::orderLists() list += browseSearch + relevant + _history + _bookmarks; else list += relevant + browseSearch + _history + _bookmarks; - + return list; } @@ -328,7 +328,7 @@ void UrlSuggester::computeWebSearches() { engine = SearchEngine::defaultEngine(); } - + if (engine) { UrlSuggestionItem item = UrlSuggestionItem(UrlSuggestionItem::Search, SearchEngine::buildQuery(engine, query), query, engine->name()); @@ -451,6 +451,6 @@ void UrlSuggester::removeBookmarksDuplicates() _bookmarks.removeOne(item); break; } - } + } } } -- cgit v1.2.1