mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-18 20:12:36 +02:00
fix warning: unused variable "pdfExport" (should be fixed properly by original author by evaluating function-result)
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user