diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-06 07:22:29 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-09-06 07:22:29 (GMT) |
commit | fded09d4e2983d7eed82c9fa5b678f70074473ba (patch) | |
tree | 188d10557683fb95defc966829ff3d14bc404e37 | |
parent | b9fb38de38f364a4c51d301c8e3d2dbdb90399e6 (diff) | |
parent | 6892d7adf00d0481103a48a1ff89ad0be2a1143b (diff) | |
download | Qt-fded09d4e2983d7eed82c9fa5b678f70074473ba.zip Qt-fded09d4e2983d7eed82c9fa5b678f70074473ba.tar.gz Qt-fded09d4e2983d7eed82c9fa5b678f70074473ba.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
Designer: Fix action editor scrolling.
-rw-r--r-- | tools/designer/src/lib/shared/actionrepository.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/designer/src/lib/shared/actionrepository.cpp b/tools/designer/src/lib/shared/actionrepository.cpp index 1076ff4..a54c1e7 100644 --- a/tools/designer/src/lib/shared/actionrepository.cpp +++ b/tools/designer/src/lib/shared/actionrepository.cpp @@ -397,9 +397,10 @@ void ActionTreeView::contextMenuEvent(QContextMenuEvent *event) emit contextMenuRequested(event, m_model->actionAt(indexAt(event->pos()))); } -void ActionTreeView::currentChanged(const QModelIndex ¤t, const QModelIndex &/*previous*/) +void ActionTreeView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) { emit currentChanged(m_model->actionAt(current)); + QTreeView::currentChanged(current, previous); } void ActionTreeView::slotActivated(const QModelIndex &index) @@ -478,9 +479,10 @@ void ActionListView::contextMenuEvent(QContextMenuEvent *event) emit contextMenuRequested(event, m_model->actionAt(indexAt(event->pos()))); } -void ActionListView::currentChanged(const QModelIndex ¤t, const QModelIndex & /*previous*/) +void ActionListView::currentChanged(const QModelIndex ¤t, const QModelIndex &previous) { emit currentChanged(m_model->actionAt(current)); + QListView::currentChanged(current, previous); } void ActionListView::slotActivated(const QModelIndex &index) |