fix -Wextra in Part
This commit is contained in:
@@ -64,6 +64,7 @@ CmdPartSimpleCylinder::CmdPartSimpleCylinder()
|
||||
|
||||
void CmdPartSimpleCylinder::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
PartGui::DlgPartCylinderImp dlg(Gui::getMainWindow());
|
||||
if (dlg.exec()== QDialog::Accepted) {
|
||||
Base::Vector3d dir = dlg.getDirection();
|
||||
@@ -114,6 +115,7 @@ CmdPartShapeFromMesh::CmdPartShapeFromMesh()
|
||||
|
||||
void CmdPartShapeFromMesh::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
bool ok;
|
||||
double tol = QInputDialog::getDouble(Gui::getMainWindow(), QObject::tr("Sewing Tolerance"),
|
||||
QObject::tr("Enter tolerance for sewing shape:"), 0.1, 0.01,10.0,2,&ok);
|
||||
@@ -176,6 +178,7 @@ CmdPartSimpleCopy::CmdPartSimpleCopy()
|
||||
|
||||
void CmdPartSimpleCopy::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
Base::Type partid = Base::Type::fromName("Part::Feature");
|
||||
std::vector<App::DocumentObject*> objs = Gui::Selection().getObjectsOfType(partid);
|
||||
openCommand("Create Copy");
|
||||
@@ -221,6 +224,7 @@ CmdPartRefineShape::CmdPartRefineShape()
|
||||
|
||||
void CmdPartRefineShape::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
Gui::WaitCursor wc;
|
||||
Base::Type partid = Base::Type::fromName("Part::Feature");
|
||||
std::vector<App::DocumentObject*> objs = Gui::Selection().getObjectsOfType(partid);
|
||||
|
||||
Reference in New Issue
Block a user