diff --git a/src/lib/preferences/siteinfopermissiondefaultitem.cpp b/src/lib/preferences/siteinfopermissiondefaultitem.cpp index afdec0f26..bbed6dd94 100644 --- a/src/lib/preferences/siteinfopermissiondefaultitem.cpp +++ b/src/lib/preferences/siteinfopermissiondefaultitem.cpp @@ -24,8 +24,8 @@ SiteInfoPermissionDefaultItem::SiteInfoPermissionDefaultItem(const SiteSettingsManager::Permission& a_permission, QWidget* parent) : QWidget(parent) -, m_ui(new Ui::SiteInfoPermissionDefaultItem()) , m_hasOptionAsk(true) +, m_ui(new Ui::SiteInfoPermissionDefaultItem()) { m_ui->setupUi(this); diff --git a/src/lib/preferences/siteinfopermissiondefaultitem.h b/src/lib/preferences/siteinfopermissiondefaultitem.h index 5b49f59c1..cda7cd839 100644 --- a/src/lib/preferences/siteinfopermissiondefaultitem.h +++ b/src/lib/preferences/siteinfopermissiondefaultitem.h @@ -48,15 +48,13 @@ public: void setFeature(const QWebEnginePage::Feature &feature); void setOption(const SiteSettingsManager::PageOptions &option); - void setHasOptionAsk(bool hasAsk); - private: void setPermission(const SiteSettingsManager::Permission permission); + void setHasOptionAsk(bool hasAsk); bool m_hasOptionAsk; QString m_sqlColumn; -private: QScopedPointer m_ui; };