@@ -106,7 +106,7 void PenTool::showColorDialog() | |||||
106 |
|
106 | |||
107 | void PenTool::updateWidth(double width) |
|
107 | void PenTool::updateWidth(double width) | |
108 | { |
|
108 | { | |
109 | if (!qFuzzyCompare(width, m_pen.widthF())) { |
|
109 | if (!qFuzzyCompare((qreal) width, m_pen.widthF())) { | |
110 | m_pen.setWidthF(width); |
|
110 | m_pen.setWidthF(width); | |
111 | emit changed(); |
|
111 | emit changed(); | |
112 | } |
|
112 | } |
General Comments 0
You need to be logged in to leave comments.
Login now