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 New Issue
Block a user