Fix build with Qt 5.6.

This commit is contained in:
Roman Telezhynskyi 2021-09-15 10:22:06 +03:00
parent 9397a57477
commit f1f368ed43

View File

@ -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);
}
}