From ae16c642902521e575f683b8edbf1007b33d83ef Mon Sep 17 00:00:00 2001 From: Anmol Gautam Date: Sat, 26 May 2018 00:14:30 +0530 Subject: [PATCH] Added sorting in cookie filter list Reviewers: drosca Reviewed By: drosca Subscribers: falkon Tags: #falkon Differential Revision: https://phabricator.kde.org/D13109 --- src/lib/cookies/cookiemanager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/cookies/cookiemanager.cpp b/src/lib/cookies/cookiemanager.cpp index 96579af24..74edb3227 100644 --- a/src/lib/cookies/cookiemanager.cpp +++ b/src/lib/cookies/cookiemanager.cpp @@ -85,6 +85,9 @@ CookieManager::CookieManager(QWidget *parent) ui->cookieTree->header()->setDefaultSectionSize(220); ui->cookieTree->setFocus(); + ui->whiteList->setSortingEnabled(true); + ui->blackList->setSortingEnabled(true); + QShortcut* removeShortcut = new QShortcut(QKeySequence("Del"), this); connect(removeShortcut, SIGNAL(activated()), this, SLOT(deletePressed()));