forked from qt-creator/qt-creator
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:
@@ -50,6 +50,7 @@ namespace Utils {
|
||||
namespace QtSupport { class BaseQtVersion; }
|
||||
|
||||
namespace QmlProjectManager {
|
||||
class QmlProject;
|
||||
|
||||
namespace Internal {
|
||||
class QmlProjectRunConfigurationFactory;
|
||||
@@ -61,6 +62,7 @@ class QMLPROJECTMANAGER_EXPORT QmlProjectRunConfiguration : public ProjectExplor
|
||||
Q_OBJECT
|
||||
friend class Internal::QmlProjectRunConfigurationFactory;
|
||||
friend class Internal::QmlProjectRunConfigurationWidget;
|
||||
friend class QmlProject; // to call updateEnabled()
|
||||
|
||||
public:
|
||||
QmlProjectRunConfiguration(ProjectExplorer::Target *parent, Core::Id id);
|
||||
@@ -93,10 +95,8 @@ public:
|
||||
|
||||
ProjectExplorer::Abi abi() const;
|
||||
|
||||
public slots:
|
||||
void changeCurrentFile(Core::IEditor*);
|
||||
|
||||
private slots:
|
||||
void changeCurrentFile(Core::IEditor*);
|
||||
void updateEnabled();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user