aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/QXmppRegisterIq.cpp2
-rw-r--r--src/base/QXmppRegisterIq.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/base/QXmppRegisterIq.cpp b/src/base/QXmppRegisterIq.cpp
index 825d89c9..77d759c8 100644
--- a/src/base/QXmppRegisterIq.cpp
+++ b/src/base/QXmppRegisterIq.cpp
@@ -183,7 +183,7 @@ QXmppRegisterIq::RegisterType QXmppRegisterIq::registerType() const
///
/// \since QXmpp 1.2
-void QXmppRegisterIq::setRegisterType(const QXmppRegisterIq::RegisterType &type)
+void QXmppRegisterIq::setRegisterType(QXmppRegisterIq::RegisterType type)
{
d->registerType = type;
}
diff --git a/src/base/QXmppRegisterIq.h b/src/base/QXmppRegisterIq.h
index 4c041d4d..f952541d 100644
--- a/src/base/QXmppRegisterIq.h
+++ b/src/base/QXmppRegisterIq.h
@@ -73,7 +73,7 @@ public:
void setUsername(const QString &username);
RegisterType registerType() const;
- void setRegisterType(const RegisterType &registerType);
+ void setRegisterType(RegisterType registerType);
QXmppBitsOfBinaryDataList bitsOfBinaryData() const;
QXmppBitsOfBinaryDataList &bitsOfBinaryData();