fix warning: unused variable "pdfExport" (should be fixed properly by original author by evaluating function-result)

This commit is contained in:
plc-user
2026-06-18 14:26:32 +02:00
parent 02cc4f043b
commit 215962873b
+3
View File
@@ -255,6 +255,9 @@ void ProjectPrintWindow::requestPaint()
const bool pdfExport =
(m_printer->outputFormat() == QPrinter::PdfFormat)
&& (dynamic_cast<QPdfEngine*>(painter.paintEngine()) != nullptr);
// plc-user: added because of "Warning: unused variable 'pdfExport'":
// should be fixed by original author by evaluating function-result!
(void)pdfExport;
for (auto diagram : selectedDiagram())
{