mirror of
https://invent.kde.org/network/falkon.git
synced 2024-09-21 17:52:10 +02:00
Preferences: Use default search engine by default
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
c90d9ee306
commit
4d0f0040be
|
@ -267,7 +267,7 @@ Preferences::Preferences(BrowserWindow* window)
|
||||||
bool searchFromAB = settings.value("SearchFromAddressBar", true).toBool();
|
bool searchFromAB = settings.value("SearchFromAddressBar", true).toBool();
|
||||||
ui->searchFromAddressBar->setChecked(searchFromAB);
|
ui->searchFromAddressBar->setChecked(searchFromAB);
|
||||||
ui->searchWithDefaultEngine->setEnabled(searchFromAB);
|
ui->searchWithDefaultEngine->setEnabled(searchFromAB);
|
||||||
ui->searchWithDefaultEngine->setChecked(settings.value("SearchWithDefaultEngine", false).toBool());
|
ui->searchWithDefaultEngine->setChecked(settings.value("SearchWithDefaultEngine", true).toBool());
|
||||||
ui->showABSearchSuggestions->setEnabled(searchFromAB);
|
ui->showABSearchSuggestions->setEnabled(searchFromAB);
|
||||||
ui->showABSearchSuggestions->setChecked(settings.value("showSearchSuggestions", true).toBool());
|
ui->showABSearchSuggestions->setChecked(settings.value("showSearchSuggestions", true).toBool());
|
||||||
connect(ui->searchFromAddressBar, &QAbstractButton::toggled, this, &Preferences::searchFromAddressBarChanged);
|
connect(ui->searchFromAddressBar, &QAbstractButton::toggled, this, &Preferences::searchFromAddressBarChanged);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user