diff options
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r-- | src/urlbar/urlresolver.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp index 787546cd..b6d7e598 100644 --- a/src/urlbar/urlresolver.cpp +++ b/src/urlbar/urlresolver.cpp @@ -107,12 +107,14 @@ UrlResolver::UrlResolver(const QString &typedUrl) } _searchEnginesRegexp = QRegExp(reg); } + + computeSuggestions(); } UrlSearchList UrlResolver::orderedSearchItems() { - if( _typedString == QL1S("about:") ) + if( _typedString.startsWith( QL1S("about:") ) ) { UrlSearchList list; UrlSearchItem home(UrlSearchItem::Browse, QString("about:home"), QL1S("home") ); @@ -132,7 +134,6 @@ UrlSearchList UrlResolver::orderedSearchItems() } //compute lists - computeSuggestions(); computeHistory(); computeQurlFromUserInput(); computeWebSearches(); |