summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2024-04-29 10:20:59 +0200
committerQt Cherry-pick Bot <[email protected]>2024-05-02 16:21:01 +0000
commit5d727ab430e215cac45af3b09d0e99199aeb040c (patch)
tree191d8e8afecde3fc92b0ecc33a6ff9442fdc8a39
parent5cff915e757f990f3dc7e89f6c2678dcfd8d08fe (diff)
QSettings/removed_api: don't return <void expr>
Fixes clazy-returning-void-expression. Amends 4cf299eb5bbdbac8484c2ee8c5afbd260dccc6d5. Change-Id: I6192deb82afe9a5ba7ddaf6203d4046f518c545a Reviewed-by: Ivan Solovev <[email protected]> (cherry picked from commit 59d24e361538e8ea03adc12785cbb73ecba61ab2) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit 2ca66ab096e4464a000101c83d8a01f642ccf70e)
-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 948d7168e89..634fe8e760c 100644
--- a/src/corelib/compat/removed_api.cpp
+++ b/src/corelib/compat/removed_api.cpp
@@ -200,7 +200,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)