aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppRemoteMethod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppRemoteMethod.cpp')
-rw-r--r--source/QXmppRemoteMethod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/QXmppRemoteMethod.cpp b/source/QXmppRemoteMethod.cpp
index 99d04a58..456eda39 100644
--- a/source/QXmppRemoteMethod.cpp
+++ b/source/QXmppRemoteMethod.cpp
@@ -34,8 +34,8 @@ void QXmppRemoteMethod::gotError( const QXmppRpcErrorIq &iq )
if ( iq.id() == m_payload.id() )
{
m_result.hasError = true;
- m_result.errorMessage = iq.error().getText();
- m_result.code = iq.error().getType();
+ m_result.errorMessage = iq.error().text();
+ m_result.code = iq.error().type();
emit callDone();
}
}