enable FREECAD_RELEASE_PDB by default, cleanup cmake file, improve whiespaces
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user