QEntity: fix a std::move-from-const in destructor


The quadratic fix proposed by commit
cbffb898fc3625a04a9569e232c0f6231d4d3505 was actually not doing anything
because std::move() was applied to a const variable.

Pick-to: 6.6 6.7
Change-Id: Ieff6341493fd026ad45e0c3e26f0cdb4797b4a6a
Reviewed-by: Mike Krus <mike.krus@kdab.com>
commit4721805c04ef2acdb87f8b339f125b9a2ee7b392
parente1d69a2ca8ebc436fc87e1a5b0231c9a8f4dafd0
authorAurélien Brooke <aurelien@bahiasoft.fr>
committerAurélien Brooke <aurelien@bahiasoft.fr>
commit timeSat, 13 Jan 2024 09:09:42 +0100