in forward declaration replace class keyword when struct is expected

comment out unused parameters
This commit is contained in:
wmayer
2016-12-29 17:52:39 +01:00
parent 35b76c5205
commit 3114df352d
18 changed files with 54 additions and 42 deletions

View File

@@ -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();