1
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:
Juraj Oravec 2024-01-30 21:37:37 +01:00
parent 1bd5bd7846
commit 070e8374b0
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -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());