aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/optionspage.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-12-23 11:20:52 +0100
committerEike Ziller <eike.ziller@qt.io>2018-01-06 11:08:02 +0000
commita76efd4cac4592a9534717051c3bba801767d8b2 (patch)
treeb92854693ecce180abc84f73946f14fbcdbe1e61 /plugins/haskell/optionspage.cpp
parentf73e91128adeaca803e53b0f7af79075bf6ee4b1 (diff)
Show error in editor if stack cannot be run
With the option to open the configuration page. Change-Id: I4895e27648d5e161fd0c9b617723f7fdd6853248 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'plugins/haskell/optionspage.cpp')
-rw-r--r--plugins/haskell/optionspage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/haskell/optionspage.cpp b/plugins/haskell/optionspage.cpp
index 88a5792..04cab79 100644
--- a/plugins/haskell/optionspage.cpp
+++ b/plugins/haskell/optionspage.cpp
@@ -25,6 +25,7 @@
#include "optionspage.h"
+#include "haskellconstants.h"
#include "haskellmanager.h"
#include <QGroupBox>
@@ -38,7 +39,7 @@ namespace Internal {
OptionsPage::OptionsPage()
{
- setId("A.General");
+ setId(Constants::OPTIONS_GENERAL);
setDisplayName(tr("General"));
setCategory("J.Z.Haskell");
setDisplayCategory(tr("Haskell"));