fix -Wextra in PartDesign
This commit is contained in:
@@ -54,7 +54,7 @@ using namespace Gui;
|
||||
|
||||
/* TRANSLATOR PartDesignGui::TaskLoftParameters */
|
||||
|
||||
TaskLoftParameters::TaskLoftParameters(ViewProviderLoft *LoftView,bool newObj, QWidget *parent)
|
||||
TaskLoftParameters::TaskLoftParameters(ViewProviderLoft *LoftView,bool /*newObj*/, QWidget *parent)
|
||||
: TaskSketchBasedParameters(LoftView, parent, "PartDesign_Additive_Loft",tr("Loft parameters"))
|
||||
{
|
||||
// we need a separate container widget to add all controls to
|
||||
@@ -97,6 +97,7 @@ TaskLoftParameters::TaskLoftParameters(ViewProviderLoft *LoftView,bool newObj, Q
|
||||
|
||||
void TaskLoftParameters::updateUI(int index)
|
||||
{
|
||||
Q_UNUSED(index);
|
||||
}
|
||||
|
||||
void TaskLoftParameters::onSelectionChanged(const Gui::SelectionChanges& msg)
|
||||
@@ -194,7 +195,7 @@ TaskLoftParameters::~TaskLoftParameters()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void TaskLoftParameters::changeEvent(QEvent *e)
|
||||
void TaskLoftParameters::changeEvent(QEvent * /*e*/)
|
||||
{/*
|
||||
TaskBox::changeEvent(e);
|
||||
if (e->type() == QEvent::LanguageChange) {
|
||||
|
||||
Reference in New Issue
Block a user