diff options
author | David Schulz <david.schulz@theqtcompany.com> | 2015-03-06 09:14:40 +0100 |
---|---|---|
committer | hjk <hjk@theqtcompany.com> | 2015-03-16 10:10:05 +0000 |
commit | 40dd2481784488105f28bfefa31375ae8ec20e0b (patch) | |
tree | a1f165ecf304012ef9d69953563b7373a11ff748 /src/plugins/debugger/watchwindow.cpp | |
parent | 467c441c937c0b220e61f8a2977559ec225cf781 (diff) |
Debugger: Show progress indicator while updating locals.
Change-Id: I4b26cbe71f5936f367f9add2b3a6c812446835d8
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/debugger/watchwindow.cpp')
-rw-r--r-- | src/plugins/debugger/watchwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 12503058e5..90c376b828 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -952,6 +952,12 @@ void WatchTreeView::setModel(QAbstractItemModel *model) this, &QAbstractItemView::setCurrentIndex); connect(watchModel, &WatchModelBase::itemIsExpanded, this, &WatchTreeView::handleItemIsExpanded); + if (m_type == LocalsType) { + connect(watchModel, &WatchModelBase::updateRequested, + this, &WatchTreeView::showProgressIndicator); + connect(watchModel, &WatchModelBase::updateFinished, + this, &WatchTreeView::hideProgressIndicator); + } } void WatchTreeView::rowActivated(const QModelIndex &index) |