aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickpainteditem.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-03 10:49:02 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-03 18:19:37 +0000
commit998036e9de667ae7b456c96855af4e542738e33c (patch)
treeee9b5a07ff6179c30a0bec818d8f1afad4c42f65 /src/quick/items/qquickpainteditem.h
parent0e30dc40df70cef2cd3f31b913bf867a620327cb (diff)
Make more ctors explicit
Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Change-Id: Ic198750717799126b4e37817845a8ee4684d631f Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickpainteditem.h')
-rw-r--r--src/quick/items/qquickpainteditem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickpainteditem.h b/src/quick/items/qquickpainteditem.h
index 85e90e7263..bb4e7f1f85 100644
--- a/src/quick/items/qquickpainteditem.h
+++ b/src/quick/items/qquickpainteditem.h
@@ -51,7 +51,7 @@ class Q_QUICK_EXPORT QQuickPaintedItem : public QQuickItem
Q_PROPERTY(QSize textureSize READ textureSize WRITE setTextureSize NOTIFY textureSizeChanged)
public:
- QQuickPaintedItem(QQuickItem *parent = Q_NULLPTR);
+ explicit QQuickPaintedItem(QQuickItem *parent = Q_NULLPTR);
virtual ~QQuickPaintedItem();
enum RenderTarget {