QmlProjectRunConfiguration: update enabled state on adding to a project

Task-number: QTCREATORBUG-7980

Change-Id: I63fa4809772ce2f7169baf3270fe753b22ea4a04
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Daniel Teske
2012-10-09 16:20:26 +02:00
parent f9c718c196
commit 558a4e4c97
3 changed files with 26 additions and 10 deletions

View File

@@ -36,6 +36,7 @@
#include <QDeclarativeEngine>
namespace ProjectExplorer { class RunConfiguration; }
namespace QmlJS { class ModelManagerInterface; }
namespace Utils { class FileSystemWatcher; }
@@ -94,6 +95,8 @@ public:
private slots:
void refreshFiles(const QSet<QString> &added, const QSet<QString> &removed);
void addedTarget(ProjectExplorer::Target *target);
void addedRunConfiguration(ProjectExplorer::RunConfiguration *);
protected:
bool fromMap(const QVariantMap &map);