diff options
author | Arno <am@disconnect.de> | 2010-08-17 19:26:56 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-08-17 19:26:56 +0200 |
commit | 9c2ffa8c6a9b1683ea21ed43f2b44f62fda7964e (patch) | |
tree | 53d3ad1e3c2ee0f6ca32e93fbae5e088ead4b704 /shemov.cpp | |
parent | 831a1031b14f4899905e54dd94fdff5d263eb609 (diff) | |
download | SheMov-9c2ffa8c6a9b1683ea21ed43f2b44f62fda7964e.tar.gz SheMov-9c2ffa8c6a9b1683ea21ed43f2b44f62fda7964e.tar.bz2 SheMov-9c2ffa8c6a9b1683ea21ed43f2b44f62fda7964e.zip |
Fixed various bugs in NewMovieWizard
SmTreeModel had a serious bug: SmTreeItem would accept rows >
mChildren.count() in SmTreeItem::child(int row). Do some sanity checks.
This only happened when trying to edit the type of the last file in
NewMovieWizard::MovieInfoPage, strangely enough. But this should fix it.
While working on the Wizard I tried to figure out why mItemEdit->clear
only sometimes worked. I guess it's because mItemEdit and the QCompleter
were connected to the same QKeyEvent, the latter winning and doing the
completion. "Fixed" this by removing the connection to the
returnPressed() slot of mItemEdit and giving the "Add Item" button a
shortcut. Don't really know if this is more annoying than pressing CTRL-
Also fixed a small logic error in MappingTableItemModel::lowerBound().
Revert the logic if the sort order should be ascending.
Diffstat (limited to 'shemov.cpp')
0 files changed, 0 insertions, 0 deletions