diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-18 16:51:58 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-18 16:51:58 +0200 |
| commit | 2f2f419542247a78f412cff3d3631ade5e09de80 (patch) | |
| tree | f928e3d636d69d542d130335c70720accd8e796f /src/base/QXmppPresence.cpp | |
| parent | f880bbd5f96f505d8c00cdfe9d3ad46160d7c34c (diff) | |
| download | qxmpp-2f2f419542247a78f412cff3d3631ade5e09de80.tar.gz | |
remove confusing QXmppPresence::Status::Offline
Diffstat (limited to 'src/base/QXmppPresence.cpp')
| -rw-r--r-- | src/base/QXmppPresence.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/base/QXmppPresence.cpp b/src/base/QXmppPresence.cpp index e5821068..6351bac8 100644 --- a/src/base/QXmppPresence.cpp +++ b/src/base/QXmppPresence.cpp @@ -307,7 +307,6 @@ void QXmppPresence::Status::setType(QXmppPresence::Status::Type type) void QXmppPresence::Status::setTypeFromStr(const QString& str) { - // FIXME: there is no keyword for Offline if(str == "") m_type = QXmppPresence::Status::Online; else if(str == "away") @@ -332,9 +331,6 @@ QString QXmppPresence::Status::getTypeStr() const switch(m_type) { case QXmppPresence::Status::Online: return ""; - case QXmppPresence::Status::Offline: - // FIXME: there is no keyword for Offline - return ""; case QXmppPresence::Status::Away: return "away"; case QXmppPresence::Status::XA: |
