try to squash GCC compile error

This commit is contained in:
donovaly
2020-02-16 22:44:11 +01:00
committed by wmayer
parent c94ddff90c
commit 83a4a918a0
5 changed files with 2 additions and 4 deletions

View File

@@ -252,7 +252,6 @@ void TaskDraftParameters::onRefDeleted(void)
// delete the selection backwards to assure the list index keeps valid for the deletion
for (int i = selectedList.count() - 1; i > -1; i--) {
QListWidgetItem* item = selectedList.at(i);
// get the fillet object
PartDesign::Draft* pcDraft = static_cast<PartDesign::Draft*>(DressUpView->getObject());
App::DocumentObject* base = pcDraft->Base.getValue();