--- a/examples/network/network-chat/chatdialog.cpp Fri Feb 19 23:40:16 2010 +0200
+++ b/examples/network/network-chat/chatdialog.cpp Fri Mar 12 15:46:37 2010 +0200
@@ -79,7 +79,7 @@
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());