summaryrefslogtreecommitdiffstats
path: root/src/corelib/compat/removed_api.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2024-04-29 10:20:59 +0200
committerMarc Mutz <marc.mutz@qt.io>2024-04-29 21:20:25 +0200
commit59d24e361538e8ea03adc12785cbb73ecba61ab2 (patch)
tree6dce6d67f3eab05055d000fb669db85a96b312ad /src/corelib/compat/removed_api.cpp
parent148add03f3bc2e1e52509500afa80793d1524dc8 (diff)
QSettings/removed_api: don't return <void expr>
Fixes clazy-returning-void-expression. Amends 4cf299eb5bbdbac8484c2ee8c5afbd260dccc6d5. Pick-to: 6.7 6.5 Change-Id: I6192deb82afe9a5ba7ddaf6203d4046f518c545a Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/compat/removed_api.cpp')
-rw-r--r--src/corelib/compat/removed_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp
index f1f17704ec..6101e71f79 100644
--- a/src/corelib/compat/removed_api.cpp
+++ b/src/corelib/compat/removed_api.cpp
@@ -211,7 +211,7 @@ void QObject::setObjectName(const QString &name)
void QSettings::beginGroup(const QString &prefix)
{
- return beginGroup(qToAnyStringViewIgnoringNull(prefix));
+ beginGroup(qToAnyStringViewIgnoringNull(prefix));
}
int QSettings::beginReadArray(const QString &prefix)