diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-02-03 00:05:16 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-02-03 00:05:16 (GMT) |
commit | b437255afe8348d0e5b865bd28cbf0500b3750f7 (patch) | |
tree | 76e31711c342d3176e5a26813937177bd4318b2d /examples/network/network-chat/chatdialog.cpp | |
parent | 17d0ed5af4922645a268b6550742fb521d459c8e (diff) | |
parent | 778e902e675a4fb2680012f9bf1221abd3b13981 (diff) | |
download | Qt-b437255afe8348d0e5b865bd28cbf0500b3750f7.zip Qt-b437255afe8348d0e5b865bd28cbf0500b3750f7.tar.gz Qt-b437255afe8348d0e5b865bd28cbf0500b3750f7.tar.bz2 |
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'examples/network/network-chat/chatdialog.cpp')
-rw-r--r-- | examples/network/network-chat/chatdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/network-chat/chatdialog.cpp b/examples/network/network-chat/chatdialog.cpp index d8bcb30..da65270 100644 --- a/examples/network/network-chat/chatdialog.cpp +++ b/examples/network/network-chat/chatdialog.cpp @@ -79,7 +79,7 @@ void ChatDialog::appendMessage(const QString &from, const QString &message) QTextCursor cursor(textEdit->textCursor()); cursor.movePosition(QTextCursor::End); QTextTable *table = cursor.insertTable(1, 2, tableFormat); - table->cellAt(0, 0).firstCursorPosition().insertText("<" + from + "> "); + table->cellAt(0, 0).firstCursorPosition().insertText('<' + from + "> "); table->cellAt(0, 1).firstCursorPosition().insertText(message); QScrollBar *bar = textEdit->verticalScrollBar(); bar->setValue(bar->maximum()); |