summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <mklapetek@kde.org>2016-03-02 23:22:38 (GMT)
committerAlexandr Akulich <akulichalexander@gmail.com>2016-09-21 13:05:33 (GMT)
commit2f406bd139bf2f02a286d10998b8611f59aca2b6 (patch)
tree3ddf7659a76758f6c891f5ee5d5d05b347e8f52e
parenta63c02dc22b6271382c8d33fdca8165426642595 (diff)
[declarative] Emit Conversation::validityChanged at the end
...with the rest of the signals Reviewed-by: Alexandr Akulich <akulichalexander@gmail.com>
-rw-r--r--KTp/Declarative/conversation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/KTp/Declarative/conversation.cpp b/KTp/Declarative/conversation.cpp
index a479603..60af807 100644
--- a/KTp/Declarative/conversation.cpp
+++ b/KTp/Declarative/conversation.cpp
@@ -90,7 +90,6 @@ void Conversation::setTextChannel(const Tp::TextChannelPtr& channel)
d->valid = channel->isValid();
connect(channel.data(), SIGNAL(invalidated(Tp::DBusProxy*,QString,QString)),
SLOT(onChannelInvalidated(Tp::DBusProxy*,QString,QString)));
- Q_EMIT validityChanged(d->valid);
if (channel->targetContact().isNull()) {
d->isGroupChat = true;
@@ -106,6 +105,7 @@ void Conversation::setTextChannel(const Tp::TextChannelPtr& channel)
Q_EMIT avatarChanged();
Q_EMIT titleChanged();
Q_EMIT presenceIconChanged();
+ Q_EMIT validityChanged(d->valid);
}
}