mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
Fix warning unreferenced formal parameter
This commit is contained in:
parent
fac3bd744d
commit
12482b862a
@ -602,7 +602,7 @@ QPen JKQTPbarVerticalGraph::getLinePen(JKQTPEnhancedPainter& painter) const {
|
||||
return p;
|
||||
}
|
||||
|
||||
double JKQTPbarVerticalGraph::getParentStackedMax(int index) const
|
||||
double JKQTPbarVerticalGraph::getParentStackedMax(int /*index*/) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -679,7 +679,7 @@ QColor JKQTPfilledVerticalRangeGraph::getKeyLabelColor()
|
||||
return color;
|
||||
}
|
||||
|
||||
QBrush JKQTPfilledVerticalRangeGraph::getBrush(JKQTPEnhancedPainter &painter) const
|
||||
QBrush JKQTPfilledVerticalRangeGraph::getBrush(JKQTPEnhancedPainter &/*painter*/) const
|
||||
{
|
||||
QBrush b;
|
||||
b.setColor(fillColor);
|
||||
|
@ -43,7 +43,7 @@ double JKQTPxParsedFunctionLineGraphFunction(double x, void* data) {
|
||||
return r.num;
|
||||
}
|
||||
}
|
||||
} catch(std::exception& E) {
|
||||
} catch(std::exception& /*E*/) {
|
||||
//qDebug()<<QString("parser error: %1").arg(E.what());
|
||||
/*ok= QMessageBox::critical(this, tr("QuickFit-table"),
|
||||
tr("An error occured while parsing the expression '%1' in cell (row, column)=(%3, %4):\n%2\n\n\"OK\" will still go on evaluating\n\"Cancel\" will cancel evaluation for the rest of the cells.").arg(dlgMathExpression->getExpression()).arg(E.what()).arg(row).arg(column),
|
||||
@ -138,7 +138,7 @@ void JKQTPxParsedFunctionLineGraph::createPlotData(bool /*collectParams*/)
|
||||
//qDebug()<<"createPlotData(): adding variables: "<<t<<"ms";
|
||||
fdata.node=fdata.parser->parse(function.toStdString());
|
||||
//qDebug()<<"createPlotData(): parsing: "<<timer.elapsed()-t<<"ms";
|
||||
} catch(std::exception& E) {
|
||||
} catch(std::exception& /*E*/) {
|
||||
//qDebug()<<QString("parser error: %1").arg(E.what());
|
||||
}
|
||||
|
||||
@ -171,7 +171,7 @@ void JKQTPxParsedFunctionLineGraph::createPlotData(bool /*collectParams*/)
|
||||
//qDebug()<<"createPlotData(): adding variables: "<<t-t0<<"ms";
|
||||
efdata.node=efdata.parser->parse(errorFunction.toStdString());
|
||||
//qDebug()<<"createPlotData(): parsing: "<<timer.elapsed()-t<<"ms";
|
||||
} catch(std::exception& E) {
|
||||
} catch(std::exception& /*E*/) {
|
||||
//qDebug()<<QString("parser error: %1").arg(E.what());
|
||||
}
|
||||
|
||||
|
@ -297,7 +297,7 @@ void TestWidgetGraphs::moveovl() {
|
||||
}
|
||||
|
||||
|
||||
void TestWidgetGraphs::setErrorStyle(int index)
|
||||
void TestWidgetGraphs::setErrorStyle(int /*index*/)
|
||||
{
|
||||
QComboBox* cmb=qobject_cast<QComboBox*>(sender());
|
||||
if (cmb) {
|
||||
@ -314,7 +314,7 @@ void TestWidgetGraphs::setErrorStyle(int index)
|
||||
}
|
||||
}
|
||||
|
||||
void TestWidgetGraphs::setESSymbol(int index)
|
||||
void TestWidgetGraphs::setESSymbol(int /*index*/)
|
||||
{
|
||||
QComboBox* cmb=qobject_cast<QComboBox*>(sender());
|
||||
if (cmb) {
|
||||
|
Loading…
Reference in New Issue
Block a user