diff --git a/src/plugins/cpptools/cppcodecompletion.cpp b/src/plugins/cpptools/cppcodecompletion.cpp index 37e307ea9fddc52f27eb9e81f20ff2319eff16ae..a98e7d1c198e0927f2f953206d10f40a29637cb4 100644 --- a/src/plugins/cpptools/cppcodecompletion.cpp +++ b/src/plugins/cpptools/cppcodecompletion.cpp @@ -216,7 +216,7 @@ protected: using namespace CppTools::Internal; -void FakeToolTipFrame::paintEvent(QPaintEvent *ev) +void FakeToolTipFrame::paintEvent(QPaintEvent *) { QStylePainter p(this); QStyleOptionFrame opt; @@ -225,7 +225,7 @@ void FakeToolTipFrame::paintEvent(QPaintEvent *ev) p.end(); } -void FakeToolTipFrame::resizeEvent(QResizeEvent *e) +void FakeToolTipFrame::resizeEvent(QResizeEvent *) { QStyleHintReturnMask frameMask; QStyleOption option;