summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/painting/qstroker.cpp4
-rw-r--r--src/gui/painting/qstroker_p.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/painting/qstroker.cpp b/src/gui/painting/qstroker.cpp
index 1201a481b6..c135adc63f 100644
--- a/src/gui/painting/qstroker.cpp
+++ b/src/gui/painting/qstroker.cpp
@@ -1028,6 +1028,10 @@ QDashStroker::QDashStroker(QStroker *stroker)
}
}
+QDashStroker::~QDashStroker()
+{
+}
+
QVector<qfixed> QDashStroker::patternForStyle(Qt::PenStyle style)
{
const qfixed space = 2;
diff --git a/src/gui/painting/qstroker_p.h b/src/gui/painting/qstroker_p.h
index 30953d304b..29d497e90b 100644
--- a/src/gui/painting/qstroker_p.h
+++ b/src/gui/painting/qstroker_p.h
@@ -254,6 +254,7 @@ class Q_GUI_EXPORT QDashStroker : public QStrokerOps
{
public:
QDashStroker(QStroker *stroker);
+ ~QDashStroker();
QStroker *stroker() const { return m_stroker; }