diff --git a/src/widget/form/chatform.cpp b/src/widget/form/chatform.cpp index e75728116..012dc0c54 100644 --- a/src/widget/form/chatform.cpp +++ b/src/widget/form/chatform.cpp @@ -401,7 +401,7 @@ void ChatForm::onAvRinging(uint32_t FriendId, int CallId, bool video) addSystemInfoMessage(tr("Calling to %1").arg(f->getDisplayedName()), ChatMessage::INFO, QDateTime::currentDateTime()); } -void ChatForm::onAvStarting(uint32_t FriendId, int CallId, bool video) +void ChatForm::onAvStarting(uint32_t FriendId, int, bool video) { if (FriendId != f->getFriendID()) return; diff --git a/src/widget/tool/screengrabberoverlayitem.cpp b/src/widget/tool/screengrabberoverlayitem.cpp index e6dd20c13..aaffe85a6 100644 --- a/src/widget/tool/screengrabberoverlayitem.cpp +++ b/src/widget/tool/screengrabberoverlayitem.cpp @@ -52,7 +52,7 @@ void ScreenGrabberOverlayItem::mousePressEvent(QGraphicsSceneMouseEvent* event) } -void ScreenGrabberOverlayItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) +void ScreenGrabberOverlayItem::paint(QPainter* painter, const QStyleOptionGraphicsItem*, QWidget*) { painter->setBrush(brush()); painter->setPen(pen());