summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Klapetek <mklapetek@kde.org>2016-03-17 22:24:26 (GMT)
committerAlexandr Akulich <akulichalexander@gmail.com>2016-09-21 14:26:51 (GMT)
commit7e11a99b4f096a4857ab842e4da9eb162c48950d (patch)
tree7d1b339e2bcfa5115ca83724281e819efb33f82a
parentf226dc0a128a3bfe4cd2624499994d1208a62fbc (diff)
[declarative] Slightly more informative warning message when sending emtpy message
Reviewed-by: Alexandr Akulich <akulichalexander@gmail.com>
-rw-r--r--KTp/Declarative/messages-model.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/KTp/Declarative/messages-model.cpp b/KTp/Declarative/messages-model.cpp
index 0519b23..4e7a25c 100644
--- a/KTp/Declarative/messages-model.cpp
+++ b/KTp/Declarative/messages-model.cpp
@@ -325,7 +325,7 @@ int MessagesModel::rowCount(const QModelIndex &parent) const
void MessagesModel::sendNewMessage(const QString &message)
{
if (message.isEmpty()) {
- qCWarning(KTP_DECLARATIVE) << "Attempting to send empty string";
+ qCWarning(KTP_DECLARATIVE) << "Attempting to send empty string, this is not supported";
} else {
Tp::PendingOperation *op;
QString modifiedMessage = message;