summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btchat
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-09-25 18:14:12 +0200
committerAlex Blasche <alexander.blasche@digia.com>2014-09-30 14:04:54 +0200
commit8be9bf4cead6f3a5bbdac3c01a2e3aa5d28f170c (patch)
treeeaab5f467277c4bbd202bd3fb7292f198ddfb349 /examples/bluetooth/btchat
parenta5c945cb4a55b4e9ec02f0674a37e529bc1bf7c2 (diff)
New QML based Bt chat client
Change-Id: I235c54591dbbf04aa58c024093beca8c068b4aed Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/bluetooth/btchat')
-rw-r--r--examples/bluetooth/btchat/chat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/bluetooth/btchat/chat.cpp b/examples/bluetooth/btchat/chat.cpp
index f3df7aa1..61943ac0 100644
--- a/examples/bluetooth/btchat/chat.cpp
+++ b/examples/bluetooth/btchat/chat.cpp
@@ -217,5 +217,6 @@ void Chat::sendClicked()
void Chat::showMessage(const QString &sender, const QString &message)
{
ui->chat->insertPlainText(QString::fromLatin1("%1: %2\n").arg(sender, message));
+ ui->chat->ensureCursorVisible();
}
//! [showMessage]