[Part] repair line endings
for an unknown reason MSVC complained suddenly about the line endings in this file
This commit is contained in:
@@ -62,7 +62,7 @@ namespace PartGui {
|
||||
QTreeWidgetItem::setData(column, role, value);
|
||||
if (role == Qt::CheckStateRole && value.toBool() == true) {
|
||||
QTreeWidget* tree = this->treeWidget();
|
||||
if (!tree)
|
||||
if (!tree)
|
||||
return;
|
||||
int numChild = tree->topLevelItemCount();
|
||||
for (int i=0; i<numChild; i++) {
|
||||
@@ -118,7 +118,7 @@ void DlgBooleanOperation::changeEvent(QEvent *e)
|
||||
void DlgBooleanOperation::slotCreatedObject(const App::DocumentObject& obj)
|
||||
{
|
||||
App::Document* activeDoc = App::GetApplication().getActiveDocument();
|
||||
if (!activeDoc)
|
||||
if (!activeDoc)
|
||||
return;
|
||||
App::Document* doc = obj.getDocument();
|
||||
if (activeDoc == doc && obj.getTypeId().isDerivedFrom(Part::Feature::getClassTypeId())) {
|
||||
@@ -207,10 +207,10 @@ bool DlgBooleanOperation::hasSolids(const App::DocumentObject* obj) const
|
||||
void DlgBooleanOperation::findShapes()
|
||||
{
|
||||
App::Document* activeDoc = App::GetApplication().getActiveDocument();
|
||||
if (!activeDoc)
|
||||
if (!activeDoc)
|
||||
return;
|
||||
Gui::Document* activeGui = Gui::Application::Instance->getDocument(activeDoc);
|
||||
if (!activeGui)
|
||||
if (!activeGui)
|
||||
return;
|
||||
|
||||
std::vector<App::DocumentObject*> objs = activeDoc->getObjectsOfType
|
||||
|
||||
Reference in New Issue
Block a user