From 070e8374b0dce73309a07cc51e1d42bae25c65d0 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Tue, 30 Jan 2024 21:37:37 +0100 Subject: [PATCH] SiteSettings: Remove default option for Cookies Signed-off-by: Juraj Oravec --- src/lib/preferences/preferences.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib/preferences/preferences.cpp b/src/lib/preferences/preferences.cpp index 489eadeee..bf2e0ca86 100644 --- a/src/lib/preferences/preferences.cpp +++ b/src/lib/preferences/preferences.cpp @@ -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());