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>
This commit is contained in:
Eike Ziller
2018-01-03 13:47:32 +01:00
parent e4b07d6f74
commit ca8b727e42
2 changed files with 1 additions and 1 deletions

View File

@@ -344,6 +344,7 @@ void ProgressManagerPrivate::init()
connect(toggleProgressView, &QAction::toggled,
this, &ProgressManagerPrivate::progressDetailsToggled);
toggleButton->setDefaultAction(cmd->action());
m_progressView->setReferenceWidget(toggleButton);
updateVisibility();