enable FREECAD_RELEASE_PDB by default, cleanup cmake file, improve whiespaces

This commit is contained in:
wmayer
2018-10-15 20:11:58 +02:00
parent 19b399015e
commit 47536dcd37
3 changed files with 6 additions and 29 deletions

View File

@@ -1100,8 +1100,9 @@ void StdCmdDelete::activated(int iMsg)
}
break;
}
}
} else {
}
}
else {
// check if we can delete the object - linked objects
std::set<QString> affectedLabels;
for (std::vector<Gui::SelectionObject>::iterator ft = sel.begin(); ft != sel.end(); ++ft) {

View File

@@ -1256,7 +1256,7 @@ void DocumentItem::slotChangeObject(const Gui::ViewProviderDocumentObject& view)
void DocumentItem::slotRenameObject(const Gui::ViewProviderDocumentObject& obj)
{
// Do nothing here because the Label is set in slotChangeObject
Q_UNUSED(obj);
Q_UNUSED(obj);
}
void DocumentItem::slotActiveObject(const Gui::ViewProviderDocumentObject& obj)
@@ -1396,21 +1396,6 @@ const Gui::Document* DocumentItem::document() const
// }
//}
//void DocumentItem::markItem(const App::DocumentObject* Obj,bool mark)
//{
// // never call without Object!
// assert(Obj);
//
//
// std::map<std::string,DocumentObjectItem*>::iterator pos;
// pos = ObjectMap.find(Obj->getNameInDocument());
// if (pos != ObjectMap.end()) {
// QFont f = pos->second->font(0);
// f.setUnderline(mark);
// pos->second->setFont(0,f);
// }
//}
void DocumentItem::testStatus(void)
{
FOREACH_ITEM_ALL(item);