summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbuserror.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-03-06 22:23:18 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-12 15:22:30 +0100
commit6c2695d677215868447790297c1401628eabc47e (patch)
tree4de3e058154a397b4efc5d56d50706eba95627ed /src/dbus/qdbuserror.h
parent0ee9b6831a4385d8a7b208220ed82ec6bf538b4e (diff)
QtDBus: make some constructors explicit
This is a semi-automatic search, so I'm reasonably sure that all the exported ones have been caught. Change-Id: I314d341ad0db4e9d4bbf353a9537c9422ad8a54b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbuserror.h')
-rw-r--r--src/dbus/qdbuserror.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus/qdbuserror.h b/src/dbus/qdbuserror.h
index 0cea8e2cde..ed0bfaad9b 100644
--- a/src/dbus/qdbuserror.h
+++ b/src/dbus/qdbuserror.h
@@ -93,8 +93,8 @@ public:
#endif
};
- QDBusError(const DBusError *error = 0);
- QDBusError(const QDBusMessage& msg);
+ explicit QDBusError(const DBusError *error = 0);
+ /*implicit*/ QDBusError(const QDBusMessage& msg);
QDBusError(ErrorType error, const QString &message);
QDBusError(const QDBusError &other);
QDBusError &operator=(const QDBusError &other);