summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qdatastream.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-05-02 17:16:58 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-05-03 14:04:51 +0200
commit2c5f5bf2e8843d8c88c3ece9bd93c567fd74d3ae (patch)
tree1ac09d9259013046657f1a75bd47791dec24d8d9 /src/corelib/serialization/qdatastream.cpp
parenta1371783ac3b04df5b5275de49179a26a7c5112b (diff)
Windows: simplify setting the dark border
A round trip through querying the window attribute to avoid a call to the setter is overkill, we can assume that the setter won't do anything if the value of the attribute doesn't change. Also, don't check whether QWindowsIntegration::darkModeHandling is overridden before calling setDarkMode, which checks that flag already. The flag will be very rarely cleared (and we might want to remove support for this obscure mechanism soon). Task-number: QTBUG-124490 Change-Id: I7e027fd53f556200edfd127eaf5f2b97f027528e Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/serialization/qdatastream.cpp')
0 files changed, 0 insertions, 0 deletions