QmlProject: Use new helper function to create run configuration widgets

Change-Id: I471fe60d25bb3d8ca3ebf2d2abe8e725bc7daa56
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
hjk
2018-03-20 16:50:07 +01:00
parent c93e2815c7
commit 3bce4b9af2
3 changed files with 3 additions and 22 deletions

View File

@@ -31,8 +31,6 @@
namespace Core { class IEditor; }
namespace QtSupport { class BaseQtVersion; }
namespace QmlProjectManager {
class QmlProject;
@@ -41,7 +39,6 @@ namespace Internal { class QmlProjectRunConfigurationWidget; }
class QMLPROJECTMANAGER_EXPORT QmlProjectRunConfiguration : public ProjectExplorer::RunConfiguration
{
Q_OBJECT
friend class ProjectExplorer::RunConfigurationFactory;
friend class Internal::QmlProjectRunConfigurationWidget;
friend class QmlProject; // to call updateEnabled()
@@ -62,7 +59,7 @@ public:
// RunConfiguration
QString disabledReason() const override;
virtual QWidget *createConfigurationWidget() override;
QWidget *createConfigurationWidget() override;
Utils::OutputFormatter *createOutputFormatter() const override;
QVariantMap toMap() const override;