diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-01-03 13:47:32 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-01-08 08:11:35 +0000 |
commit | ca8b727e4201471610df28a6f3e696a8907033a8 (patch) | |
tree | 9ad3a3982ffe01615a6ce24017b37e90cd279cb8 /src/plugins/coreplugin/progressmanager | |
parent | e4b07d6f74214bb478280467989ad8928a32bc03 (diff) | |
download | qt-creator-ca8b727e4201471610df28a6f3e696a8907033a8.tar.gz |
Attach progress details to the toggle progress details button
The popup is corresponding to the button (and the summary progress bar),
and that automatically also moves it away from the right border a bit.
Task-number: QTCREATORBUG-19308
Change-Id: Ie6f72f19552285586395776b175ca142f56c7d6e
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/progressmanager')
-rw-r--r-- | src/plugins/coreplugin/progressmanager/progressmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/coreplugin/progressmanager/progressmanager.cpp b/src/plugins/coreplugin/progressmanager/progressmanager.cpp index e583aa0c79..62ba9c5f9c 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager.cpp +++ b/src/plugins/coreplugin/progressmanager/progressmanager.cpp @@ -344,6 +344,7 @@ void ProgressManagerPrivate::init() connect(toggleProgressView, &QAction::toggled, this, &ProgressManagerPrivate::progressDetailsToggled); toggleButton->setDefaultAction(cmd->action()); + m_progressView->setReferenceWidget(toggleButton); updateVisibility(); |