mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-19 12:44:13 +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 =
|
const bool pdfExport =
|
||||||
(m_printer->outputFormat() == QPrinter::PdfFormat)
|
(m_printer->outputFormat() == QPrinter::PdfFormat)
|
||||||
&& (dynamic_cast<QPdfEngine*>(painter.paintEngine()) != nullptr);
|
&& (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())
|
for (auto diagram : selectedDiagram())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user