in forward declaration replace class keyword when struct is expected
comment out unused parameters
This commit is contained in:
@@ -143,7 +143,7 @@ ViewProviderPointMarker::~ViewProviderPointMarker()
|
||||
// TaskDialog
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
TaskDlgPost::TaskDlgPost(Gui::ViewProviderDocumentObject *view,bool newObj)
|
||||
TaskDlgPost::TaskDlgPost(Gui::ViewProviderDocumentObject *view)
|
||||
: TaskDialog(), m_view(view)
|
||||
{
|
||||
assert(view);
|
||||
@@ -336,6 +336,7 @@ TaskPostClip::TaskPostClip(ViewProviderDocumentObject* view, App::PropertyLink*
|
||||
|
||||
assert(view->isDerivedFrom(ViewProviderFemPostClip::getClassTypeId()));
|
||||
assert(function);
|
||||
Q_UNUSED(function)
|
||||
|
||||
fwidget = NULL;
|
||||
|
||||
@@ -392,7 +393,7 @@ void TaskPostClip::collectImplicitFunctions() {
|
||||
}
|
||||
}
|
||||
|
||||
void TaskPostClip::on_CreateButton_triggered(QAction* a) {
|
||||
void TaskPostClip::on_CreateButton_triggered(QAction*) {
|
||||
|
||||
collectImplicitFunctions();
|
||||
recompute();
|
||||
@@ -827,14 +828,14 @@ void TaskPostWarpVector::on_Value_valueChanged(double v) {
|
||||
ui->Slider->blockSignals(false);
|
||||
}
|
||||
|
||||
void TaskPostWarpVector::on_Max_valueChanged(double v) {
|
||||
void TaskPostWarpVector::on_Max_valueChanged(double) {
|
||||
|
||||
ui->Slider->blockSignals(true);
|
||||
ui->Slider->setValue((ui->Value->value() - ui->Min->value()) / (ui->Max->value() - ui->Min->value())*100.);
|
||||
ui->Slider->blockSignals(false);
|
||||
}
|
||||
|
||||
void TaskPostWarpVector::on_Min_valueChanged(double v) {
|
||||
void TaskPostWarpVector::on_Min_valueChanged(double) {
|
||||
|
||||
ui->Slider->blockSignals(true);
|
||||
ui->Slider->setValue((ui->Value->value() - ui->Min->value()) / (ui->Max->value() - ui->Min->value())*100.);
|
||||
@@ -848,6 +849,7 @@ TaskPostCut::TaskPostCut(ViewProviderDocumentObject* view, App::PropertyLink* fu
|
||||
|
||||
assert(view->isDerivedFrom(ViewProviderFemPostCut::getClassTypeId()));
|
||||
assert(function);
|
||||
Q_UNUSED(function)
|
||||
|
||||
fwidget = NULL;
|
||||
|
||||
@@ -900,7 +902,7 @@ void TaskPostCut::collectImplicitFunctions() {
|
||||
}
|
||||
}
|
||||
|
||||
void TaskPostCut::on_CreateButton_triggered(QAction* a) {
|
||||
void TaskPostCut::on_CreateButton_triggered(QAction*) {
|
||||
|
||||
collectImplicitFunctions();
|
||||
recompute();
|
||||
|
||||
Reference in New Issue
Block a user