diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-10-27 14:18:59 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-10-27 14:20:05 (GMT) |
commit | c79d83b6d661ea49d893b4590480a434d75b19bd (patch) | |
tree | ce3a7ca4528080f7ff6d7ffdb9f4c86083a90d99 /src/gui/widgets/qcombobox_p.h | |
parent | 8f040ea4da93f1b9cae1db560e5e9f9b3140b3ff (diff) | |
download | Qt-c79d83b6d661ea49d893b4590480a434d75b19bd.zip Qt-c79d83b6d661ea49d893b4590480a434d75b19bd.tar.gz Qt-c79d83b6d661ea49d893b4590480a434d75b19bd.tar.bz2 |
QComboBox did not emit currentItemChanged when the model was reset
Task-number: QTBUG-569
Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/widgets/qcombobox_p.h')
-rw-r--r-- | src/gui/widgets/qcombobox_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/qcombobox_p.h b/src/gui/widgets/qcombobox_p.h index f7458c4..06e51e4 100644 --- a/src/gui/widgets/qcombobox_p.h +++ b/src/gui/widgets/qcombobox_p.h @@ -357,9 +357,8 @@ public: #endif void _q_resetButton(); void _q_dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight); - void _q_rowsAboutToBeInserted(const QModelIndex & parent, int start, int end); + void _q_updateIndexBeforeChange(); void _q_rowsInserted(const QModelIndex & parent, int start, int end); - void _q_rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end); void _q_rowsRemoved(const QModelIndex & parent, int start, int end); void updateArrow(QStyle::StateFlag state); bool updateHoverControl(const QPoint &pos); |