aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/handlers/qquickpointerdevicehandler_p.h
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@qt.io>2017-02-21 15:32:58 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2017-02-21 15:28:45 +0000
commitfcfaaa12278efd3e306841b2c77d4be0247bfbd3 (patch)
tree2e6f52cf30b29c12ada053dd649a3c04b522487d /src/quick/handlers/qquickpointerdevicehandler_p.h
parent507efe5a8a2390813fb620a91b0b3b6b383f599d (diff)
Make all handler constructors explicit
Change-Id: I17b3865d70bdc07912d7454b459dea40b9c98df0 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/handlers/qquickpointerdevicehandler_p.h')
-rw-r--r--src/quick/handlers/qquickpointerdevicehandler_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/handlers/qquickpointerdevicehandler_p.h b/src/quick/handlers/qquickpointerdevicehandler_p.h
index 2e126381b0..2ca7310da8 100644
--- a/src/quick/handlers/qquickpointerdevicehandler_p.h
+++ b/src/quick/handlers/qquickpointerdevicehandler_p.h
@@ -63,7 +63,7 @@ class Q_AUTOTEST_EXPORT QQuickPointerDeviceHandler : public QQuickPointerHandler
Q_PROPERTY(Qt::MouseButtons acceptedButtons READ acceptedButtons WRITE setAcceptedButtons NOTIFY acceptedButtonsChanged)
public:
- QQuickPointerDeviceHandler(QObject *parent = 0);
+ explicit QQuickPointerDeviceHandler(QObject *parent = 0);
~QQuickPointerDeviceHandler();
QQuickPointerDevice::DeviceTypes acceptedDevices() const { return m_acceptedDevices; }