Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2a38e134 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Avoid warnings

parent 7a35b3b2
......@@ -123,6 +123,8 @@ public:
void finishInteraction(Qt::KeyboardModifiers /*modifiers*/) override {}
void paint(QPainter &painter, const KoViewConverter &converter) {
Q_UNUSED(painter);
Q_UNUSED(converter);
}
};
......@@ -175,6 +177,8 @@ public:
bool paintOnHover(QPainter &painter, const KoViewConverter &converter) override
{
Q_UNUSED(painter);
Q_UNUSED(converter);
return false;
}
......
......@@ -96,6 +96,8 @@ KUndo2Command *ShapeGradientEditStrategy::createCommand()
void ShapeGradientEditStrategy::finishInteraction(Qt::KeyboardModifiers modifiers)
{
Q_UNUSED(modifiers);
const QRectF dirtyRect = tool()->canvas()->snapGuide()->boundingRect();
tool()->canvas()->snapGuide()->reset();
tool()->canvas()->updateCanvas(dirtyRect);
......@@ -103,5 +105,7 @@ void ShapeGradientEditStrategy::finishInteraction(Qt::KeyboardModifiers modifier
void ShapeGradientEditStrategy::paint(QPainter &painter, const KoViewConverter &converter)
{
Q_UNUSED(painter);
Q_UNUSED(converter);
}
......@@ -122,4 +122,6 @@ void ShapeMoveStrategy::finishInteraction(Qt::KeyboardModifiers modifiers)
void ShapeMoveStrategy::paint(QPainter &painter, const KoViewConverter &converter)
{
Q_UNUSED(painter);
Q_UNUSED(converter);
}
......@@ -238,4 +238,6 @@ void ShapeResizeStrategy::finishInteraction(Qt::KeyboardModifiers modifiers)
void ShapeResizeStrategy::paint(QPainter &painter, const KoViewConverter &converter)
{
Q_UNUSED(painter);
Q_UNUSED(converter);
}
......@@ -155,6 +155,8 @@ void ShapeShearStrategy::handleMouseMove(const QPointF &point, Qt::KeyboardModif
void ShapeShearStrategy::paint(QPainter &painter, const KoViewConverter &converter)
{
Q_UNUSED(painter);
Q_UNUSED(converter);
}
KUndo2Command *ShapeShearStrategy::createCommand()
......
Markdown is supported
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