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.

Pick-to: 6.9
Change-Id: I88749dbeb070206c42feb4ffc504f260f8857823
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Ivan Solovev 2025-01-09 14:31:49 +01:00
parent 4c5d9a3ca3
commit da799c20d7

View File

@ -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