diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-05-27 22:58:44 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-05-27 23:34:32 +0200 |
commit | 807e20570cbfef6e258313565598905564f1bb86 (patch) | |
tree | 695b3c940bce02305224e5781a7c48b5a6fdab94 /src/urlbar/urlresolver.cpp | |
parent | Runtime Nepomuk tagging check (diff) | |
download | rekonq-807e20570cbfef6e258313565598905564f1bb86.tar.xz |
Kitchen sink clean up
- astyle
- copyrights
- (some) includes
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r-- | src/urlbar/urlresolver.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp index f7fb27f1..e2ca32cb 100644 --- a/src/urlbar/urlresolver.cpp +++ b/src/urlbar/urlresolver.cpp @@ -122,19 +122,19 @@ UrlSearchList UrlResolver::orderedSearchItems() { QStringList aboutUrlList; aboutUrlList - << QL1S("about:home") - << QL1S("about:favorites") - << QL1S("about:closedTabs") - << QL1S("about:bookmarks") - << QL1S("about:history") - << QL1S("about:downloads") - << QL1S("about:tabs") - << QL1S("about:info"); + << QL1S("about:home") + << QL1S("about:favorites") + << QL1S("about:closedTabs") + << QL1S("about:bookmarks") + << QL1S("about:history") + << QL1S("about:downloads") + << QL1S("about:tabs") + << QL1S("about:info"); QStringList aboutUrlResults = aboutUrlList.filter(_typedString, Qt::CaseInsensitive); UrlSearchList list; - + if (aboutUrlResults.isEmpty()) { UrlSearchItem info(UrlSearchItem::Browse, QL1S("about:info"), QL1S("info")); @@ -146,7 +146,7 @@ UrlSearchList UrlResolver::orderedSearchItems() Q_FOREACH(const QString & urlResult, aboutUrlResults) { QString name = urlResult; - name.remove(0,6); + name.remove(0, 6); UrlSearchItem item(UrlSearchItem::Browse, urlResult, name); list << item; } @@ -273,7 +273,7 @@ void UrlResolver::computeQurlFromUserInput() QString hst = urlFromUserInput.host(); urlFromUserInput.setHost(hst.toLower()); } - + QString urlString = urlFromUserInput.toString(); QString gTitle = i18nc("Browse a website", "Browse"); UrlSearchItem gItem(UrlSearchItem::Browse, urlString, gTitle); |