summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusmarshaller.cpp
diff options
context:
space:
mode:
authorTasuku Suzuki <[email protected]>2025-08-08 22:32:35 +0900
committerMarc Mutz <[email protected]>2025-08-20 10:24:56 +0000
commit1c26d20b3f87a3b59eb6eb12a00c17d35df736f1 (patch)
treec279809e317e69ed07252e249edaa1452922e499 /src/dbus/qdbusmarshaller.cpp
parent7a1e7c88f087a1ccc7b6309c3a8e72376cbd37b6 (diff)
Fix QRegion ifdef inconsistenciesHEADdev
Remove unnecessary platform guards that caused inconsistencies between header and implementation files: 1. Remove dead code for operator+=(const QRect&) that was guarded by #if !defined(Q_OS_UNIX) && !defined(Q_OS_WIN) This condition is never true since all platforms define either Q_OS_UNIX or Q_OS_WIN. Even if such an environment existed, this fallback implementation would work, but the build would fail anyway due to missing implementations of QRegionPrivate and core constructors that are incorrectly guarded by the opposite condition. 2. Remove #if defined(Q_OS_UNIX) || defined(Q_OS_WIN) guard around QRegionPrivate and related implementations (lines 1066-4320). This condition is always true, but the header file declares these unconditionally. If this guard were false, it would cause linker errors for all QRegion constructors and methods. These changes ensure header and implementation files are consistent and eliminate dead code. Pick-to: 6.10 6.9 6.8 Change-Id: Ibd3caddfd68273a091b11d0a40909d0e44eb6947 Reviewed-by: Marc Mutz <[email protected]>
Diffstat (limited to 'src/dbus/qdbusmarshaller.cpp')
0 files changed, 0 insertions, 0 deletions