diff options
author | Eike Ziller <eike.ziller@digia.com> | 2012-12-18 16:00:21 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2012-12-18 16:05:42 +0100 |
commit | 4510d1ef841a76aeca49c883bea9d516febd10c3 (patch) | |
tree | 74d99b246c065bf91ec5750fd5e94f590f4dde9c | |
parent | 3b112a0fa715ee722898cbd97fd84fb1cd543d35 (diff) |
Update examples when default kit changes.
Otherwise one had to close and reopen Qt Creator.
Change-Id: If59d5e01665082e0a69e02c686809f92d86180bf
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
-rw-r--r-- | src/plugins/qtsupport/exampleslistmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qtsupport/exampleslistmodel.cpp b/src/plugins/qtsupport/exampleslistmodel.cpp index 311fd5f585..de819ce19b 100644 --- a/src/plugins/qtsupport/exampleslistmodel.cpp +++ b/src/plugins/qtsupport/exampleslistmodel.cpp @@ -81,6 +81,8 @@ ExamplesListModel::ExamplesListModel(QObject *parent) : SLOT(helpInitialized())); connect(QtVersionManager::instance(), SIGNAL(qtVersionsChanged(QList<int>,QList<int>,QList<int>)), this, SLOT(handleQtVersionsChanged())); + connect(ProjectExplorer::KitManager::instance(), SIGNAL(defaultkitChanged()), + SLOT(handleQtVersionsChanged())); } static inline QString fixStringForTags(const QString &string) |