summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-12-15 17:09:30 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-15 17:09:30 +0100
commit0791fdb4347b59e486a3be2e4a0514ac661e76dd (patch)
treeae2876aa6e3fabd2e75b93fbea5551b22232b5b1
parentminor startup speed improvement (QL1C && QL1S) (diff)
downloadrekonq-0791fdb4347b59e486a3be2e4a0514ac661e76dd.tar.xz
show history entries also when no favorite search engine is set
Bug investigation and courtesy patch by Gabo Menna. Many thanks for :D BUG: 256322
-rw-r--r--src/urlbar/urlresolver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp
index b809935a..20f2107d 100644
--- a/src/urlbar/urlresolver.cpp
+++ b/src/urlbar/urlresolver.cpp
@@ -346,7 +346,7 @@ void UrlResolver::computeHistory()
Q_FOREACH(const HistoryItem & i, found)
{
- if (_searchEnginesRegexp.indexIn(i.url) == -1) //filter all urls that are search engine results
+ if (_searchEnginesRegexp.isEmpty() || _searchEnginesRegexp.indexIn(i.url) == -1) //filter all urls that are search engine results
{
UrlSearchItem gItem(UrlSearchItem::History, i.url, i.title);
_history << gItem;