diff options
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/QXmppStanza.cpp | 5 | ||||
| -rw-r--r-- | src/base/QXmppStanza.h | 3 |
2 files changed, 0 insertions, 8 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()); diff --git a/src/base/QXmppStanza.h b/src/base/QXmppStanza.h index 6149c854..aaf60cd9 100644 --- a/src/base/QXmppStanza.h +++ b/src/base/QXmppStanza.h @@ -99,9 +99,6 @@ public: void setType(Type type); Type type() const; - // FIXME : remove this once is gone - bool isValid() const; - /// \cond void parse(const QDomElement &element); void toXml(QXmlStreamWriter *writer) const; |
