diff options
author | Arno <am@disconnect.de> | 2010-07-04 10:13:17 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-07-04 10:13:17 +0200 |
commit | 5dd4fe05df7619fb68356613b698fb373f4fccee (patch) | |
tree | d74adce3b2a1c56448e9dea08a23c51f83decedb /smmodelsingleton.cpp | |
parent | 8c6051a16b12f265d7a30b4b24da10b3ba63edae (diff) | |
download | SheMov-5dd4fe05df7619fb68356613b698fb373f4fccee.tar.gz SheMov-5dd4fe05df7619fb68356613b698fb373f4fccee.tar.bz2 SheMov-5dd4fe05df7619fb68356613b698fb373f4fccee.zip |
Fix MovieInfoPage
The first page of NewMovieWizard gave me quite a headache. It crashed
with a segmentation fault because of exposing mDvdNo via registerField()
without actually assigning a QCheckBox to it. The backtrace isn't very
helpful in such a case.
I also fixed some bugs on the way:
1. use SmTreeItem::setData in SmTreeModel::addRow instead of deleting
the old item and creating a new one. This way I don't need to take care
of the parent.
2. get data of old item in SmTreeModel::reparent before calling
removeRows. This call deletes the item.
3. Fix column alignments in WizardTreeModel for size column
Diffstat (limited to 'smmodelsingleton.cpp')
0 files changed, 0 insertions, 0 deletions