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

@@ -178,7 +178,6 @@ void TaskChamferParameters::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::Chamfer* pcChamfer = static_cast<PartDesign::Chamfer*>(DressUpView->getObject());
App::DocumentObject* base = pcChamfer->Base.getValue();

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();

View File

@@ -25,8 +25,10 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <QApplication>
# include <QListWidget>
# include <QListWidgetItem>
# include <QTimer>
#endif
#include <boost/algorithm/string/predicate.hpp>

View File

@@ -178,7 +178,6 @@ void TaskFilletParameters::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::Fillet* pcFillet = static_cast<PartDesign::Fillet*>(DressUpView->getObject());
App::DocumentObject* base = pcFillet->Base.getValue();

View File

@@ -200,7 +200,6 @@ void TaskThicknessParameters::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::Thickness* pcThickness = static_cast<PartDesign::Thickness*>(DressUpView->getObject());
App::DocumentObject* base = pcThickness->Base.getValue();