Commit 3c1dd9bc authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix compilation on Qt 4.7

parent ce878a53
......@@ -24,6 +24,10 @@
#include <kis_types.h>
class QImage;
class QRect;
class QSize;
class QTransform;
class KRITAIMAGE_EXPORT KisLiquifyTransformWorker
{
......
......@@ -221,6 +221,8 @@ void KisBrush::setHotSpot(QPointF pt)
QPointF KisBrush::hotSpot(double scaleX, double scaleY, double rotation, const KisPaintInformation& info) const
{
Q_UNUSED(info);
QSizeF metric = characteristicSize(scaleX, scaleY, rotation);
qreal w = metric.width();
......
......@@ -30,6 +30,7 @@
#include "flake_export.h"
#include <QColor>
#include <QMetaType>
class KoShape;
class QPainter;
......
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