mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
SiteSettings: Remove default option for Cookies
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
1bd5bd7846
commit
070e8374b0
|
@ -323,14 +323,6 @@ Preferences::Preferences(BrowserWindow* window)
|
|||
listItem->setSizeHint(optionItem->sizeHint());
|
||||
optionItem->setFeature(feature);
|
||||
}
|
||||
{
|
||||
auto* listItem = new QListWidgetItem(ui->siteSettingsList);
|
||||
auto* optionItem = new SiteInfoPermissionDefaultItem(siteSettings->getDefaultPermission(SiteSettingsManager::poAllowCookies), this);
|
||||
|
||||
ui->siteSettingsList->setItemWidget(listItem, optionItem);
|
||||
listItem->setSizeHint(optionItem->sizeHint());
|
||||
optionItem->setOption(SiteSettingsManager::poAllowCookies);
|
||||
}
|
||||
|
||||
//Cache
|
||||
ui->allowCache->setChecked(settings.value(QSL("AllowLocalCache"), true).toBool());
|
||||
|
|
Loading…
Reference in New Issue
Block a user