mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Disable site permission controls when in Private
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
4fa90d3ad2
commit
28d5b4adff
|
@ -30,6 +30,13 @@ SiteInfoPermissionItem::SiteInfoPermissionItem(const SiteSettingsManager::Permis
|
|||
{
|
||||
m_ui->setupUi(this);
|
||||
setPermission(a_permission);
|
||||
|
||||
if (mApp->isPrivate()) {
|
||||
m_ui->radioAllow->setEnabled(false);
|
||||
m_ui->radioAsk->setEnabled(false);
|
||||
m_ui->radioDeny->setEnabled(false);
|
||||
m_ui->radioDefault->setEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
SiteInfoPermissionItem::~SiteInfoPermissionItem()
|
||||
|
|
Loading…
Reference in New Issue
Block a user