diff options
author | Arno <am@disconnect.de> | 2010-07-29 21:18:39 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-07-29 21:18:39 +0200 |
commit | 82789cd9e72688b72add622f27598e9aad879af0 (patch) | |
tree | 880b4cb6c6d5e8fa3d6056c11fbd52292285f19e /filepropertiesdialog.h | |
parent | 5926a52a30428a2fa10ff8f367e4cb4355f62c2d (diff) | |
download | SheMov-82789cd9e72688b72add622f27598e9aad879af0.tar.gz SheMov-82789cd9e72688b72add622f27598e9aad879af0.tar.bz2 SheMov-82789cd9e72688b72add622f27598e9aad879af0.zip |
Bugfix in AddCoverDialog::AddCoverDialog
mCurrentType wasn't initialized in AddCoverDialog constructor, so it
ended up with a random number. Fortunately it was too big for a
Pg::SmallInt and the db choked with the value being too big for a
Pg::SmallInt.
Fix: Connect QComboBox::currentIndexChanged(QString) first and then add
items to the QComboBox. That triggers the SLOT and sets mCurrentType to
the right value.
Diffstat (limited to 'filepropertiesdialog.h')
0 files changed, 0 insertions, 0 deletions