try to squash GCC compile error
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -25,8 +25,10 @@
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <QApplication>
|
||||
# include <QListWidget>
|
||||
# include <QListWidgetItem>
|
||||
# include <QTimer>
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user