Fix incorrect us of QScopedPointer.
This commit is contained in:
parent
c61087ed5d
commit
662ffd255b
|
@ -765,7 +765,7 @@ void VPMainWindow::generateTiledPdf(QString fileName)
|
|||
PageOrientation tilesOrientation = m_layout->GetTilesOrientation();
|
||||
|
||||
// ------------- Set up the printer
|
||||
auto printer = QScopedPointer<QPrinter>(new QPrinter());
|
||||
QScopedPointer<QPrinter> printer(new QPrinter());
|
||||
|
||||
printer->setCreator(QGuiApplication::applicationDisplayName()+QChar(QChar::Space)+
|
||||
QCoreApplication::applicationVersion());
|
||||
|
|
Loading…
Reference in New Issue
Block a user