diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-08-17 13:19:10 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-08-20 21:22:29 +0200 |
commit | 817e47fbcde21ab54d353efd647685159cb437a9 (patch) | |
tree | 4e3817fad2ad89650bb60bca4957d28fe0232ca4 /src/corelib/compat/removed_api.cpp | |
parent | 3be99799a675a631c67e05897383af9abbc377b3 (diff) |
QBuffer: fix the setData() API re: int/qsizetype
The setData(ptr, n) overload was still taking the size as int.
Widen it.
Task-number: QTBUG-103525
Change-Id: If1d6d6404d62bbae5e0defea9a2115648c1fd5da
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/corelib/compat/removed_api.cpp')
-rw-r--r-- | src/corelib/compat/removed_api.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp index aa1a496f0f..42f2ef97ea 100644 --- a/src/corelib/compat/removed_api.cpp +++ b/src/corelib/compat/removed_api.cpp @@ -285,6 +285,8 @@ QT_WARNING_POP #if QT_CORE_REMOVED_SINCE(6, 5) +#include "qbuffer.h" // inline removed API + #include "qenvironmentvariables.h" bool qputenv(const char *varName, const QByteArray &value) |