[Telepathy-commits] [telepathy-qt4/master] QString doesnt have empty(), it has isEmpty()

Olli Salli olli.salli at collabora.co.uk
Mon Oct 13 14:17:08 PDT 2008


---
 TelepathyQt4/cli-channel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/TelepathyQt4/cli-channel.cpp b/TelepathyQt4/cli-channel.cpp
index d8dabfe..b5768fc 100644
--- a/TelepathyQt4/cli-channel.cpp
+++ b/TelepathyQt4/cli-channel.cpp
@@ -419,7 +419,7 @@ QString Channel::channelType() const
 {
     // Similarly, we don't want warnings triggered when using the type interface
     // proxies internally.
-    if (mPriv->readiness < ReadinessFull && mPriv->channelType.empty())
+    if (mPriv->readiness < ReadinessFull && mPriv->channelType.isEmpty())
         warning() << "Channel::channelType() before the channel type has been received";
     else if (mPriv->readiness == ReadinessDead)
         warning() << "Channel::channelType() used with readiness ReadinessDead";
-- 
1.5.6.5




More information about the Telepathy-commits mailing list