Commit 735602b8 authored by Langella Olivier's avatar Langella Olivier
Browse files

bunch of warnings fixed

parent c657671f
......@@ -292,7 +292,7 @@ ObiwarpAlignmentWidget::setMzStart(double mz)
}
void
ObiwarpAlignmentWidget::completDataToMsrun(MsrunSp msrun)
ObiwarpAlignmentWidget::completDataToMsrun(MsrunSp msrun [[maybe_unused]])
{
qDebug() << "Complete data to Msrun";
}
......
......@@ -11,7 +11,7 @@
FilterSpikeWidget::FilterSpikeWidget(TreatmentBoxXicFilter *treatmentBox,
QWidget *parent)
: MasschroQWidget(parent), _p_treatmentBox(treatmentBox), _half_window(5)
: MasschroQWidget(parent), _half_window(5), _p_treatmentBox(treatmentBox)
{
// initialize filter
_filter_spike = std::make_shared<pappso::FilterMorphoAntiSpike>(_half_window);
......
......@@ -167,7 +167,7 @@ Plot::updatedPeaks(const TreatmentBoxXicDetect *p_treatment)
}
p_graph->setData(rt, intensity);
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " ";
this->replot();
}
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " ";
......@@ -191,7 +191,7 @@ Plot::remove(TreatmentBox *box)
void
Plot::clear()
{
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " ";
qDebug();
for(auto graph_pair : _xicPlots)
{
removeGraph(graph_pair.second);
......@@ -201,9 +201,8 @@ Plot::clear()
{
graph(g)->data()->clear();
}
int n = clearPlottables();
//int n = clearPlottables();
replot();
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " ";
qDebug() << "Plot::clear end";
}
......@@ -274,7 +273,7 @@ Plot::mousePressEvent(QMouseEvent *event)
// qDebug() << "Plot::mousePressEvent end";
}
void
Plot::mouseReleaseEvent(QMouseEvent *event)
Plot::mouseReleaseEvent(QMouseEvent *event [[maybe_unused]])
{
// qDebug() << "Plot::mouseReleaseEvent begin "
// << xAxis->pixelToCoord(event->x()) << " " <<
......
......@@ -227,6 +227,7 @@ XicSelectionWidget::writeElement(MasschroqDomDocument *domDocument) const
}
void
XicSelectionWidget::onPrecisionChange(pappso::PrecisionPtr precision)
XicSelectionWidget::onPrecisionChange(pappso::PrecisionPtr precision
[[maybe_unused]])
{
}
......@@ -11,12 +11,10 @@
MasschroqmlGuiParser::MasschroqmlGuiParser(MasschroqGuiData *masschroqGuiData)
: _masschroqGuiData(masschroqGuiData)
{
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__;
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " "
<< masschroqGuiData;
qDebug() << masschroqGuiData;
_masschroqGuiData->clear();
_p_current_peptide = 0;
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__;
qDebug();
}
MasschroqmlGuiParser::~MasschroqmlGuiParser()
......@@ -24,8 +22,8 @@ MasschroqmlGuiParser::~MasschroqmlGuiParser()
}
bool
MasschroqmlGuiParser::startElement(const QString &namespaceURI,
const QString &localName,
MasschroqmlGuiParser::startElement(const QString &namespaceURI [[maybe_unused]],
const QString &localName [[maybe_unused]],
const QString &qName,
const QXmlAttributes &attributes)
{
......@@ -63,8 +61,8 @@ MasschroqmlGuiParser::startElement(const QString &namespaceURI,
}
bool
MasschroqmlGuiParser::endElement(const QString &namespaceURI,
const QString &localName,
MasschroqmlGuiParser::endElement(const QString &namespaceURI [[maybe_unused]],
const QString &localName [[maybe_unused]],
const QString &qName)
{
bool is_ok = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment