mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-07-30 07:44:13 +02:00
4f7340691a
Two further empty Qt6 guard branches found by ispyisail in qelectrotech#553: - Element editor parts list: the QGraphicsItem* was only stored into the list item on Qt5, so on Qt6 selecting a part in the list silently stopped selecting it on the canvas. QVariant::fromValue() works on both (Qt itself declares the metatype), guard removed. - Print dialog: setEnabledOptions() is a Qt4-era API removed in Qt6; setOptions() is the modern spelling with the same replace-the-set semantics and exists on both, guard removed. Both builds (Qt 5.15.2 and Qt 6.11.1) compile clean. (cherry picked from commit 759d1c078e23664482850bad2e91d668b93aadcf)