Pressing enter in a QPlainTextEdit embedded on a itemview should insert a newline
commit701bdcbc8b7751834f6d24844bcb91a23cbdc409
authorOlivier Goffart <ogoffart@trolltech.com>
Fri, 22 May 2009 13:48:23 +0000 (22 15:48 +0200)
committerOlivier Goffart <ogoffart@trolltech.com>
Fri, 22 May 2009 15:25:01 +0000 (22 17:25 +0200)
tree08b01cf07b2cff2d7f51bceb8a06656f25f5d942
parentfc7a43cceba63b79a40183334ab97527483113e3
Pressing enter in a QPlainTextEdit embedded on a itemview should insert a newline

Do the same special case as for QTextEdit
(yes, this is a pitty that we have special cases like that

Reviewed-by: Thierry
Task-number: 252532
src/gui/itemviews/qitemdelegate.cpp
src/gui/itemviews/qstyleditemdelegate.cpp
tests/auto/qitemdelegate/tst_qitemdelegate.cpp