I moved an application I wrote and use from Qt 4.2 to Qt 4.6. I have a widget where there is a QListView associated with a QStringListModel. I type in a text box, hit enter and add text to the QStringListModel. In Qt 4.2 this would cause QListView to automatically show the updated model. In 4.6 the updated view is only shown if QListView has focus. So now I have to setFocus() on the QListView and then setFocus() on the text box to make QListView show the updated model.
Bugreport
And we think these computers will be taking care of us in our old age.
Sigh.
PS. On the plus side, 4.2 had a bug where a text edit would not accept the enter key and would pass it onto the parent widget which would cause a dialog box with a text edit to be accepted. That has been fixed.
Trolltech giveth and trolltech taketh.
Bugreport
And we think these computers will be taking care of us in our old age.
Sigh.
PS. On the plus side, 4.2 had a bug where a text edit would not accept the enter key and would pass it onto the parent widget which would cause a dialog box with a text edit to be accepted. That has been fixed.
Trolltech giveth and trolltech taketh.
You have to emit dataChanged.
ReplyDeleteI don't think so. I'm not reimplementing the class.
ReplyDelete