diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-03-19 13:05:29 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-03-20 09:55:33 +0000 |
commit | 4a6339aae2db126928c22e55398ddf3f8b7d2d24 (patch) | |
tree | 22f5b4aa6f59b32b39a19d6a92082effa8f960ab | |
parent | 58eb877e5788bdb00a13a716b1da24ad6f0d7cdd (diff) |
Fix run configuration ID now that it no longer has a prefix
Change-Id: I3ec20d6878efee0d19923e3e1bf58fa32e3be799
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | plugins/haskell/haskellconstants.h | 2 | ||||
-rw-r--r-- | plugins/haskell/haskellrunconfiguration.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/haskell/haskellconstants.h b/plugins/haskell/haskellconstants.h index f4c1bea..db0f4dd 100644 --- a/plugins/haskell/haskellconstants.h +++ b/plugins/haskell/haskellconstants.h @@ -31,7 +31,7 @@ namespace Constants { const char C_HASKELLEDITOR_ID[] = "Haskell.HaskellEditor"; const char C_HASKELLSNIPPETSGROUP_ID[] = "Haskell"; const char C_HASKELL_PROJECT_MIMETYPE[] = "text/x-haskell-project"; -const char C_HASKELL_RUNCONFIG_ID_PREFIX[] = "Haskell.Run."; +const char C_HASKELL_RUNCONFIG_ID[] = "Haskell.RunConfiguration"; const char C_HASKELL_PROJECT_ID[] = "Haskell.Project"; const char C_HASKELL_EXECUTABLE_KEY[] = "Haskell.Executable"; const char OPTIONS_GENERAL[] = "Haskell.A.General"; diff --git a/plugins/haskell/haskellrunconfiguration.cpp b/plugins/haskell/haskellrunconfiguration.cpp index c9ac93f..5ada4cc 100644 --- a/plugins/haskell/haskellrunconfiguration.cpp +++ b/plugins/haskell/haskellrunconfiguration.cpp @@ -46,13 +46,13 @@ namespace Internal { HaskellRunConfigurationFactory::HaskellRunConfigurationFactory() { - registerRunConfiguration<HaskellRunConfiguration>(Constants::C_HASKELL_RUNCONFIG_ID_PREFIX); + registerRunConfiguration<HaskellRunConfiguration>(Constants::C_HASKELL_RUNCONFIG_ID); addSupportedProjectType(Constants::C_HASKELL_PROJECT_ID); addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE); } HaskellRunConfiguration::HaskellRunConfiguration(Target *parent) - : RunConfiguration(parent, Constants::C_HASKELL_RUNCONFIG_ID_PREFIX) + : RunConfiguration(parent, Constants::C_HASKELL_RUNCONFIG_ID) { auto argumentAspect = new ArgumentsAspect(this, "Haskell.RunAspect.Arguments"); auto workingDirAspect = new WorkingDirectoryAspect(this, "Haskell.RunAspect.WorkingDirectory"); |