diff --git a/src/lib/other/siteinfopermissionitem.cpp b/src/lib/other/siteinfopermissionitem.cpp index 4f382d977..3056a864a 100644 --- a/src/lib/other/siteinfopermissionitem.cpp +++ b/src/lib/other/siteinfopermissionitem.cpp @@ -31,9 +31,7 @@ SiteInfoPermissionItem::SiteInfoPermissionItem(const SiteSettingsManager::Permis setPermission(a_permission); } -SiteInfoPermissionItem::~SiteInfoPermissionItem() -{ -} +SiteInfoPermissionItem::~SiteInfoPermissionItem() = default; bool SiteInfoPermissionItem::hasOptionAsk() const { diff --git a/src/lib/other/sitesettingsmanager.cpp b/src/lib/other/sitesettingsmanager.cpp index f2404e12d..adbb005ec 100644 --- a/src/lib/other/sitesettingsmanager.cpp +++ b/src/lib/other/sitesettingsmanager.cpp @@ -62,9 +62,7 @@ SiteSettingsManager::SiteSettingsManager ( QObject* parent ) loadSettings(); } -SiteSettingsManager::~SiteSettingsManager() noexcept -{ -} +SiteSettingsManager::~SiteSettingsManager() = default; void SiteSettingsManager::loadSettings() { diff --git a/src/lib/preferences/sitesettingsattributesitem.cpp b/src/lib/preferences/sitesettingsattributesitem.cpp index 3b627d659..9148b8bf4 100644 --- a/src/lib/preferences/sitesettingsattributesitem.cpp +++ b/src/lib/preferences/sitesettingsattributesitem.cpp @@ -22,9 +22,7 @@ SiteSettingsAttributesItem::SiteSettingsAttributesItem(const QWebEngineSettings: connect(m_ui->browseButton, &QPushButton::clicked, this, &SiteSettingsAttributesItem::showBrowseDialog); } -SiteSettingsAttributesItem::~SiteSettingsAttributesItem() -{ -} +SiteSettingsAttributesItem::~SiteSettingsAttributesItem() = default; void SiteSettingsAttributesItem::showBrowseDialog() { diff --git a/src/lib/preferences/sitesettingsbrowsedialog.cpp b/src/lib/preferences/sitesettingsbrowsedialog.cpp index 040da50b2..3e49ee2dd 100644 --- a/src/lib/preferences/sitesettingsbrowsedialog.cpp +++ b/src/lib/preferences/sitesettingsbrowsedialog.cpp @@ -87,6 +87,4 @@ void SiteSettingsBrowseDialog::hideAskButton() m_ui->askButton->hide(); } -SiteSettingsBrowseDialog::~SiteSettingsBrowseDialog() -{ -} +SiteSettingsBrowseDialog::~SiteSettingsBrowseDialog() = default; diff --git a/src/lib/preferences/sitesettingshtml5item.cpp b/src/lib/preferences/sitesettingshtml5item.cpp index cb87eb6fe..66187367e 100644 --- a/src/lib/preferences/sitesettingshtml5item.cpp +++ b/src/lib/preferences/sitesettingshtml5item.cpp @@ -36,9 +36,7 @@ SiteSettingsHtml5Item::SiteSettingsHtml5Item(const QWebEnginePage::Feature a_fea connect(m_ui->browseButton, &QPushButton::clicked, this, &SiteSettingsHtml5Item::showBrowseDialog); } -SiteSettingsHtml5Item::~SiteSettingsHtml5Item() -{ -} +SiteSettingsHtml5Item::~SiteSettingsHtml5Item() = default; void SiteSettingsHtml5Item::showBrowseDialog() {