diff options
| author | Méven Car <[email protected]> | 2023-09-10 15:19:13 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-09-10 15:19:13 +0200 |
| commit | b58a346be96f7d0973ed96e52c4cf95463ba244d (patch) | |
| tree | 799775ba70d0d9f61f2d400ad1b46227979dec26 /src/settings/dolphinsettingsdialog.cpp | |
| parent | 5a7b749f5b524f771c549774de4783f014664135 (diff) | |
Replace qAsConst with std::as_const
Diffstat (limited to 'src/settings/dolphinsettingsdialog.cpp')
| -rw-r--r-- | src/settings/dolphinsettingsdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/dolphinsettingsdialog.cpp b/src/settings/dolphinsettingsdialog.cpp index 45aa7b65a..0d2c76e3c 100644 --- a/src/settings/dolphinsettingsdialog.cpp +++ b/src/settings/dolphinsettingsdialog.cpp @@ -129,7 +129,7 @@ void DolphinSettingsDialog::enableApply() void DolphinSettingsDialog::applySettings() { - for (SettingsPageBase *page : qAsConst(m_pages)) { + for (SettingsPageBase *page : std::as_const(m_pages)) { page->applySettings(); } @@ -148,7 +148,7 @@ void DolphinSettingsDialog::applySettings() void DolphinSettingsDialog::restoreDefaults() { - for (SettingsPageBase *page : qAsConst(m_pages)) { + for (SettingsPageBase *page : std::as_const(m_pages)) { page->restoreDefaults(); } } |
