changeset 5 | 453da2cfceef |
parent 4 | 90517678cc4f |
child 11 | 06b8e2af4411 |
--- a/qtmobility/src/messaging/qmessage_maemo.cpp Mon May 03 13:18:40 2010 +0300 +++ b/qtmobility/src/messaging/qmessage_maemo.cpp Fri May 14 16:41:33 2010 +0300 @@ -178,6 +178,9 @@ QString QMessage::subject() const { + if (d_ptr->_subject.isEmpty() && d_ptr->_type == QMessage::Sms) { + return textContent().left(100); + } return d_ptr->_subject; }