aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStanza.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-04-20 17:34:18 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2012-04-20 17:34:18 +0000
commitbab569167711d4eb8175d1148d0e672c9435f4fd (patch)
tree054419c1ab9d56b2adca6c8bcc2e40251982426c /src/base/QXmppStanza.cpp
parentbeabf3b7dae805b328214eed54f07e19c1c954ef (diff)
downloadqxmpp-bab569167711d4eb8175d1148d0e672c9435f4fd.tar.gz
remove QXmppStanza::Error::isValid
Diffstat (limited to 'src/base/QXmppStanza.cpp')
-rw-r--r--src/base/QXmppStanza.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/base/QXmppStanza.cpp b/src/base/QXmppStanza.cpp
index 3ee0e752..6c83451d 100644
--- a/src/base/QXmppStanza.cpp
+++ b/src/base/QXmppStanza.cpp
@@ -233,11 +233,6 @@ void QXmppStanza::Error::setConditionFromStr(const QString& type)
setCondition(static_cast<QXmppStanza::Error::Condition>(-1));
}
-bool QXmppStanza::Error::isValid() const
-{
- return !(getTypeStr().isEmpty() && getConditionStr().isEmpty());
-}
-
void QXmppStanza::Error::parse(const QDomElement &errorElement)
{
setCode(errorElement.attribute("code").toInt());