mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
LocationCompleter: Enable suggestions from 2 and more characters
This commit is contained in:
parent
635cb1085c
commit
eb92250003
|
@ -80,7 +80,7 @@ void LocationCompleter::complete(const QString &string)
|
||||||
connect(job, SIGNAL(finished()), this, SLOT(refreshJobFinished()));
|
connect(job, SIGNAL(finished()), this, SLOT(refreshJobFinished()));
|
||||||
connect(this, SIGNAL(cancelRefreshJob()), job, SLOT(jobCancelled()));
|
connect(this, SIGNAL(cancelRefreshJob()), job, SLOT(jobCancelled()));
|
||||||
|
|
||||||
if (qzSettings->searchFromAddressBar && qzSettings->showABSearchSuggestions && trimmedStr.length() > 2) {
|
if (qzSettings->searchFromAddressBar && qzSettings->showABSearchSuggestions && trimmedStr.length() >= 2) {
|
||||||
if (!m_openSearchEngine) {
|
if (!m_openSearchEngine) {
|
||||||
m_openSearchEngine = new OpenSearchEngine(this);
|
m_openSearchEngine = new OpenSearchEngine(this);
|
||||||
m_openSearchEngine->setNetworkAccessManager(mApp->networkManager());
|
m_openSearchEngine->setNetworkAccessManager(mApp->networkManager());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user