diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2010-01-28 15:46:51 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2010-01-28 15:49:55 (GMT) |
commit | 1a6e9a69235458e55b2e726e51d2797434780384 (patch) | |
tree | 1806db1ce99a8d62486541aa7b1a2b2819e07da8 /examples/network/network-chat/chatdialog.cpp | |
parent | b4d60000981e298b7e40605a284f2b8b9b18fff5 (diff) | |
download | Qt-1a6e9a69235458e55b2e726e51d2797434780384.zip Qt-1a6e9a69235458e55b2e726e51d2797434780384.tar.gz Qt-1a6e9a69235458e55b2e726e51d2797434780384.tar.bz2 |
Core classes, examples, demos: Some changes from string to char
Reviewed-by: Peter Hartmann
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()); |