Skip to content

Commit

Permalink
try to squash GCC compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
donovaly authored and wwmayer committed Feb 17, 2020
1 parent b86d97b commit 01e8e7f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Mod/PartDesign/Gui/TaskChamferParameters.cpp
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/Mod/PartDesign/Gui/TaskDraftParameters.cpp
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions src/Mod/PartDesign/Gui/TaskDressUpParameters.cpp
Expand Up @@ -25,8 +25,10 @@
#include "PreCompiled.h"

#ifndef _PreComp_
# include <QApplication>
# include <QListWidget>
# include <QListWidgetItem>
# include <QTimer>
#endif

#include <boost/algorithm/string/predicate.hpp>
Expand Down
1 change: 0 additions & 1 deletion src/Mod/PartDesign/Gui/TaskFilletParameters.cpp
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/Mod/PartDesign/Gui/TaskThicknessParameters.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 01e8e7f

Please sign in to comment.