QSharedPointer::get() was introduced in Qt 5.11.
This commit is contained in:
parent
4869bc2d89
commit
5f62b1bd52
|
@ -728,7 +728,7 @@ auto VDxfEngine::ExportToAAMA(const QVector<VLayoutPiece> &details) -> bool
|
||||||
ExportPieceText(detailBlock, detail);
|
ExportPieceText(detailBlock, detail);
|
||||||
ExportAAMADrill(detailBlock, detail);
|
ExportAAMADrill(detailBlock, detail);
|
||||||
|
|
||||||
m_input->AddBlock(detailBlock.get());
|
m_input->AddBlock(detailBlock.data());
|
||||||
|
|
||||||
QScopedPointer<DRW_Insert> insert(new DRW_Insert());
|
QScopedPointer<DRW_Insert> insert(new DRW_Insert());
|
||||||
insert->name = blockName.toStdString();
|
insert->name = blockName.toStdString();
|
||||||
|
@ -946,7 +946,7 @@ auto VDxfEngine::ExportToASTM(const QVector<VLayoutPiece> &details) -> bool
|
||||||
ExportASTMDrill(detailBlock, detail);
|
ExportASTMDrill(detailBlock, detail);
|
||||||
ExportASTMAnnotationText(detailBlock, detail);
|
ExportASTMAnnotationText(detailBlock, detail);
|
||||||
|
|
||||||
m_input->AddBlock(detailBlock.get());
|
m_input->AddBlock(detailBlock.data());
|
||||||
|
|
||||||
QScopedPointer<DRW_Insert> insert(new DRW_Insert());
|
QScopedPointer<DRW_Insert> insert(new DRW_Insert());
|
||||||
insert->name = blockName.toStdString();
|
insert->name = blockName.toStdString();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user