mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-06-26 22:28:12 +02:00
Fix build with Qt 5.6.
This commit is contained in:
parent
9397a57477
commit
f1f368ed43
|
@ -596,7 +596,7 @@ void VPMainWindow::ImportRawLayouts(const QStringList &rawLayouts)
|
|||
}
|
||||
}
|
||||
|
||||
piece->SetSheet(nullptr); // just in case
|
||||
piece->SetSheet(VPSheetPtr()); // just in case
|
||||
VPLayout::AddPiece(m_layout, piece);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue