aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/watchwindow.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@theqtcompany.com>2015-03-06 09:14:40 +0100
committerhjk <hjk@theqtcompany.com>2015-03-16 10:10:05 +0000
commit40dd2481784488105f28bfefa31375ae8ec20e0b (patch)
treea1f165ecf304012ef9d69953563b7373a11ff748 /src/plugins/debugger/watchwindow.cpp
parent467c441c937c0b220e61f8a2977559ec225cf781 (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.cpp6
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)