Commit c657671f authored by Langella Olivier's avatar Langella Olivier
Browse files

bunch of warnings fixed

parent 7d5e2ade
......@@ -5,8 +5,7 @@
* Author: valot
*/
#ifndef LOGQIODEVICE_H_
#define LOGQIODEVICE_H_
#pragma once
#include <QIODevice>
......@@ -24,11 +23,9 @@ class LogQIODevice : public QIODevice
protected:
qint64
readData(char *data, qint64 maxSize)
readData(char *data [[maybe_unused]], qint64 maxSize [[maybe_unused]])
{
return 0;
}
qint64 writeData(const char *data, qint64 maxSize);
};
#endif /* LOGQIODEVICE_H_ */
......@@ -125,13 +125,13 @@ FilterBackgroundWidget::setMinMaxHalfWindow(int i)
this->filterXic();
}
const int
int
FilterBackgroundWidget::getMedianHalfWindow() const
{
return _median_half_window;
}
const int
int
FilterBackgroundWidget::getMinMaxHalfWindow() const
{
return _min_max_half_window;
......
......@@ -80,6 +80,6 @@ class FilterBackgroundWidget : public MasschroQWidget
const int MEDIAN_HALF_WINDOW;
const int MINMAX_HALF_WINDOW;
const int getMedianHalfWindow() const;
const int getMinMaxHalfWindow() const;
int getMedianHalfWindow() const;
int getMinMaxHalfWindow() const;
};
......@@ -88,7 +88,7 @@ FilterMaxMinWidget::setHalfWindow(int i)
_filter_maxmin = std::make_shared<pappso::FilterMorphoMaxMin>(_half_window);
}
const int
int
FilterMaxMinWidget::getHalfWindow() const
{
return _half_window;
......
......@@ -71,5 +71,5 @@ class FilterMaxMinWidget : public QWidget
QGroupBox *_half_window_group;
const int HALF_WINDOW_DEFAULT;
const int getHalfWindow() const;
int getHalfWindow() const;
};
......@@ -86,7 +86,7 @@ FilterMinMaxWidget::setHalfWindow(int i)
_filter_minmax = std::make_shared<pappso::FilterMorphoMinMax>(_half_window);
}
const int
int
FilterMinMaxWidget::getHalfWindow() const
{
return _half_window;
......
......@@ -72,5 +72,5 @@ class FilterMinMaxWidget : public QWidget
QGroupBox *_half_window_group;
const int HALF_WINDOW_DEFAULT;
const int getHalfWindow() const;
int getHalfWindow() const;
};
......@@ -88,7 +88,7 @@ FilterSmoothWidget::setHalfWindow(int i)
_filter_smooth = std::make_shared<pappso::FilterMorphoMean>(_half_window);
}
const int
int
FilterSmoothWidget::getHalfWindow() const
{
return _half_window;
......
......@@ -72,5 +72,5 @@ class FilterSmoothWidget : public QWidget
QGroupBox *_half_window_group;
const int HALF_WINDOW_DEFAULT;
const int getHalfWindow() const;
int getHalfWindow() const;
};
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