From ddbd1af3debdca662045900768b19c7d4a20efab Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 14 May 2012 12:24:07 +0200 Subject: fix compilation of GuiClient --- examples/GuiClient/profileDialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/GuiClient/profileDialog.cpp') diff --git a/examples/GuiClient/profileDialog.cpp b/examples/GuiClient/profileDialog.cpp index 8dbbbd58..1a06364f 100644 --- a/examples/GuiClient/profileDialog.cpp +++ b/examples/GuiClient/profileDialog.cpp @@ -98,14 +98,14 @@ void profileDialog::setStatusText(const QString& status) void profileDialog::versionReceived(const QXmppVersionIq& ver) { - m_versions[jidToResource(ver.from())] = ver; + m_versions[QXmppUtils::jidToResource(ver.from())] = ver; if(ver.type() == QXmppIq::Result) updateText(); } void profileDialog::timeReceived(const QXmppEntityTimeIq& time) { - m_time[jidToResource(time.from())] = time; + m_time[QXmppUtils::jidToResource(time.from())] = time; if(time.type() == QXmppIq::Result) updateText(); } @@ -135,7 +135,7 @@ void profileDialog::updateText() { statusText += "Time: " + QString("utc=%1 [tzo=%2]"). arg(m_time[resource].utc().toString()). - arg(timezoneOffsetToString(m_time[resource].tzo())); + arg(QXmppUtils::timezoneOffsetToString(m_time[resource].tzo())); statusText += "
"; } -- cgit v1.2.3