QSharedPointer::get() was introduced in Qt 5.11.

This commit is contained in:
Roman Telezhynskyi 2022-11-10 12:05:06 +02:00
parent 4869bc2d89
commit 5f62b1bd52

View File

@ -728,7 +728,7 @@ auto VDxfEngine::ExportToAAMA(const QVector<VLayoutPiece> &details) -> bool
ExportPieceText(detailBlock, detail);
ExportAAMADrill(detailBlock, detail);
m_input->AddBlock(detailBlock.get());
m_input->AddBlock(detailBlock.data());
QScopedPointer<DRW_Insert> insert(new DRW_Insert());
insert->name = blockName.toStdString();
@ -946,7 +946,7 @@ auto VDxfEngine::ExportToASTM(const QVector<VLayoutPiece> &details) -> bool
ExportASTMDrill(detailBlock, detail);
ExportASTMAnnotationText(detailBlock, detail);
m_input->AddBlock(detailBlock.get());
m_input->AddBlock(detailBlock.data());
QScopedPointer<DRW_Insert> insert(new DRW_Insert());
insert->name = blockName.toStdString();