diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2010-08-15 08:37:16 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2010-08-15 08:37:16 +0200 |
commit | 5c049a00fd9c799ea332436267ba1b85bc08fa1e (patch) | |
tree | ddb6334ca3367354596e4e95a2bb7ae4e9e3e32c /src/urlbar/urlresolver.cpp | |
parent | introduce a new SuggestionListItem (diff) | |
download | rekonq-5c049a00fd9c799ea332436267ba1b85bc08fa1e.tar.xz |
wait signal
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r-- | src/urlbar/urlresolver.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp index 157e26a2..189a5e46 100644 --- a/src/urlbar/urlresolver.cpp +++ b/src/urlbar/urlresolver.cpp @@ -349,6 +349,11 @@ UrlSearchList UrlResolver::bookmarksResolution() // STEP 4 = suggestion completion UrlSearchList UrlResolver::suggestionResolution() { + Application::opensearchManager()->requestSuggestion(); + while (!m_suggestionReceived) + { + Application->instance()->processEvents(QEventLoop::WaitForMore | QEventLoop::ExcludeUserInput); + } UrlSearchList list; UrlSearchItem gItem(UrlSearchItem::Suggestion, "a", "a"); |