summaryrefslogtreecommitdiff
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-05-02 09:30:00 +0200
committerMarc Mutz <marc.mutz@qt.io>2023-05-02 14:51:01 +0200
commit426b5fbce437128a10055ebfdc4431e6a2ab312c (patch)
tree3d4f8a31a754db58033fcdbaa0960c5be6e539f4 /src/corelib/kernel
parent1bf8c1e23dcb4246b35ef1983a0bc5542410347a (diff)
downloadqtbase-426b5fbce437128a10055ebfdc4431e6a2ab312c.tar.gz
D-Bus: use move() on QVariants in writeProperty()
The writeProperty() function takes the QVariant value by value, so we can move from it, using the newly-added QMetaProperty::write() rvalue overload. As a drive-by, replace a copy-assignment with a move. Task-number: QTBUG-112762 Change-Id: I6d5361830b4874fa846be513882ede4ab881246b Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions