summaryrefslogtreecommitdiff
path: root/src/plugins/vcsbase
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-01-05 11:12:39 +0100
committerEike Ziller <eike.ziller@theqtcompany.com>2015-01-05 16:04:52 +0100
commit225e599c94333484ba42f6365e28201546ff164a (patch)
tree31c7eb39b2326b2a3f3fd4d4e8bab792298bedce /src/plugins/vcsbase
parent98dbe9adcadd0aff01b7f8eb08f1cef97b01f001 (diff)
downloadqt-creator-225e599c94333484ba42f6365e28201546ff164a.tar.gz
Register wizard windows so they appear in window list and get shortcuts
Change-Id: I69b3a49ba2e2162585502a523be835918b7b9533 Task-number: QTCREATORBUG-13766 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/vcsbase')
-rw-r--r--src/plugins/vcsbase/basecheckoutwizardfactory.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/vcsbase/basecheckoutwizardfactory.cpp b/src/plugins/vcsbase/basecheckoutwizardfactory.cpp
index 88c46edc24..aa9d600d72 100644
--- a/src/plugins/vcsbase/basecheckoutwizardfactory.cpp
+++ b/src/plugins/vcsbase/basecheckoutwizardfactory.cpp
@@ -31,6 +31,8 @@
#include "basecheckoutwizardfactory.h"
#include "basecheckoutwizard.h"
+#include <coreplugin/icontext.h>
+#include <coreplugin/icore.h>
#include <coreplugin/featureprovider.h>
#include <projectexplorer/projectexplorer.h>
@@ -86,6 +88,7 @@ void BaseCheckoutWizardFactory::runWizard(const QString &path, QWidget *parent,
{
QScopedPointer<BaseCheckoutWizard> wizard(m_wizardCreator(Utils::FileName::fromString(path), parent));
wizard->setWindowTitle(displayName());
+ Core::ICore::registerWindow(wizard.data(), Core::Context("New.CheckoutWizard"));
checkoutPath = wizard->run();
}