diff options
| author | Marc Mutz <[email protected]> | 2024-01-30 11:33:13 +0100 |
|---|---|---|
| committer | Marc Mutz <[email protected]> | 2024-02-03 08:33:28 +0100 |
| commit | a327117c0d851dac4eea860e7d86ef3f80a0ffce (patch) | |
| tree | 31bf2d4d10ca493c8e51957487e07c928483cb55 /tests/manual/xembed/qt-client-widget/window.cpp | |
| parent | 6504496c646be5ded0318fd4663945c41bb1b02f (diff) | |
QBitArray: defend resize() and fromBits() against negative sizes
Use the same technique the constructor already uses: Q_ASSERT followed
by selecting the no-op branch in case assertions are compiled out.
Pick-to: 6.7
Change-Id: I24cbcfd686f67e060134baecfb21044948b6eb98
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Thiago Macieira <[email protected]>
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Diffstat (limited to 'tests/manual/xembed/qt-client-widget/window.cpp')
0 files changed, 0 insertions, 0 deletions
