Skip to content

Commit

Permalink
removed all Q_UNUSED
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB authored and m0dB committed Dec 26, 2024
1 parent 8228f71 commit 010f28f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 21 deletions.
4 changes: 1 addition & 3 deletions src/waveform/renderers/allshader/waveformrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ WaveformRenderer::WaveformRenderer(WaveformWidgetRenderer* widget)
: ::WaveformRendererAbstract(widget) {
}

void WaveformRenderer::draw(QPainter* painter, QPaintEvent* event) {
Q_UNUSED(painter);
Q_UNUSED(event);
void WaveformRenderer::draw(QPainter*, QPaintEvent*) {
DEBUG_ASSERT(false);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ WaveformRendererFiltered::WaveformRendererFiltered(
m_bRgbStacked(bRgbStacked) {
}

void WaveformRendererFiltered::onSetup(const QDomNode& node) {
Q_UNUSED(node);
void WaveformRendererFiltered::onSetup(const QDomNode&) {
}

void WaveformRendererFiltered::initializeGL() {
Expand Down
3 changes: 1 addition & 2 deletions src/waveform/renderers/allshader/waveformrendererhsv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ WaveformRendererHSV::WaveformRendererHSV(
: WaveformRendererSignalBase(waveformWidget) {
}

void WaveformRendererHSV::onSetup(const QDomNode& node) {
Q_UNUSED(node);
void WaveformRendererHSV::onSetup(const QDomNode&) {
}

void WaveformRendererHSV::initializeGL() {
Expand Down
3 changes: 1 addition & 2 deletions src/waveform/renderers/allshader/waveformrendererrgb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ WaveformRendererRGB::WaveformRendererRGB(WaveformWidgetRenderer* waveformWidget,
m_options(options) {
}

void WaveformRendererRGB::onSetup(const QDomNode& node) {
Q_UNUSED(node);
void WaveformRendererRGB::onSetup(const QDomNode&) {
}

void WaveformRendererRGB::initializeGL() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ WaveformRendererSignalBase::WaveformRendererSignalBase(
: ::WaveformRendererSignalBase(waveformWidget) {
}

void WaveformRendererSignalBase::draw(QPainter* painter, QPaintEvent* event) {
Q_UNUSED(painter);
Q_UNUSED(event);
void WaveformRendererSignalBase::draw(QPainter*, QPaintEvent*) {
DEBUG_ASSERT(false);
}

Expand Down
3 changes: 1 addition & 2 deletions src/waveform/renderers/allshader/waveformrenderersimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ WaveformRendererSimple::WaveformRendererSimple(
: WaveformRendererSignalBase(waveformWidget) {
}

void WaveformRendererSimple::onSetup(const QDomNode& node) {
Q_UNUSED(node);
void WaveformRendererSimple::onSetup(const QDomNode&) {
}

void WaveformRendererSimple::initializeGL() {
Expand Down
3 changes: 1 addition & 2 deletions src/waveform/renderers/allshader/waveformrendererstem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ WaveformRendererStem::WaveformRendererStem(
m_isSlipRenderer(type == ::WaveformRendererAbstract::Slip) {
}

void WaveformRendererStem::onSetup(const QDomNode& node) {
Q_UNUSED(node);
void WaveformRendererStem::onSetup(const QDomNode&) {
}

void WaveformRendererStem::initializeGL() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ void WaveformRendererTextured::initializeGL() {
}
}

void WaveformRendererTextured::onSetup(const QDomNode& node) {
Q_UNUSED(node);
void WaveformRendererTextured::onSetup(const QDomNode&) {
}

void WaveformRendererTextured::onSetTrack() {
Expand Down
4 changes: 1 addition & 3 deletions src/waveform/renderers/allshader/waveformrendermark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ bool allshader::WaveformRenderMark::init() {
return true;
}

void allshader::WaveformRenderMark::draw(QPainter* painter, QPaintEvent* event) {
Q_UNUSED(painter);
Q_UNUSED(event);
void allshader::WaveformRenderMark::draw(QPainter*, QPaintEvent*) {
DEBUG_ASSERT(false);
}

Expand Down

0 comments on commit 010f28f

Please sign in to comment.