Commit 29e60baf authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Update import label when rebuilding

 * Update the import label (and related stuff) whenever the
   project was rebuild.
parent 0d9fb90c
......@@ -70,7 +70,6 @@ public:
//shows with focus
void gotoTaskWindow();
//TODO these should take buildconfiguration object
void buildProject(BuildConfiguration *bc);
void buildProjects(const QList<BuildConfiguration *> &configurations);
void cleanProject(BuildConfiguration *configuration);
......
......@@ -43,7 +43,6 @@ class IFile;
namespace ProjectExplorer {
class BuildManager;
class BuildConfigWidget;
class IProjectManager;
class EditorConfiguration;
......
......@@ -41,6 +41,7 @@
#include <coreplugin/mainwindow.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/buildconfiguration.h>
#include <projectexplorer/buildmanager.h>
#include <utils/qtcassert.h>
#include <extensionsystem/pluginmanager.h>
......@@ -102,6 +103,9 @@ Qt4ProjectConfigWidget::Qt4ProjectConfigWidget(Qt4Project *project)
connect(m_ui->manageQtVersionPushButtons, SIGNAL(clicked()),
this, SLOT(manageQtVersions()));
connect(ProjectExplorer::ProjectExplorerPlugin::instance()->buildManager(),
SIGNAL(buildQueueFinished(bool)),
this, SLOT(updateImportLabel()));
QtVersionManager *vm = QtVersionManager::instance();
connect(vm, SIGNAL(qtVersionsChanged(QList<int>)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment