QMetaEnum::valueToKeys: fix REMOVED_SINCE version
Should be 6.9. The entries in removed_api.cpp are already added to the correct place, just the macro in the public header used wrong version. Amends d41b87e06742b491c4e36aeae32e03f85b078d69. Change-Id: I88749dbeb070206c42feb4ffc504f260f8857823 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit da799c20d763b5534152dca52fef12fda875acc2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
5e84f22a0a
commit
0db648ba3b
@ -285,7 +285,7 @@ public:
|
||||
int keysToValue(const char *keys, bool *ok = nullptr) const;
|
||||
std::optional<quint64> keyToValue64(const char *key) const;
|
||||
std::optional<quint64> keysToValue64(const char *keys) const;
|
||||
#if QT_CORE_REMOVED_SINCE(6, 8)
|
||||
#if QT_CORE_REMOVED_SINCE(6, 9)
|
||||
const char *valueToKey(int value) const;
|
||||
QByteArray valueToKeys(int value) const;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user