diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/urlbar/urlsuggester.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/urlbar/urlsuggester.cpp b/src/urlbar/urlsuggester.cpp index bc0ad280..6b9ccb13 100644 --- a/src/urlbar/urlsuggester.cpp +++ b/src/urlbar/urlsuggester.cpp @@ -326,7 +326,10 @@ void UrlSuggester::computeWebSearches() void UrlSuggester::computeHistory() { QList<HistoryItem> found = HistoryManager::self()->find(_typedString); - qSort(found.begin(), found.end(), isHistoryItemRelevant); + + // FIXME: profiling computeHistory, this seems too much expensive (around 1 second for) + // Can we live without (q)sort results??? + // qSort(found.begin(), found.end(), isHistoryItemRelevant); Q_FOREACH(const HistoryItem & i, found) { |