mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-06 19:54:13 +02:00
ce6a88c98c
MSVC stopped with C2280 at liveserver.cpp:861 (issue #1333): it copies the result of the ?: expression, and QPrinter cannot be copied. GCC and Clang build the object in place under C++17, so Linux and CI built. QPrinter(info) gives the same printer in both cases: info is only set when printing to a printer, and QPrinter() itself constructs with an empty QPrinterInfo (qprinter.cpp, QPrinter::QPrinter(PrinterMode)). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>