forked from qt-creator/qt-creator
Haskell: Finish moving to FilePathAspect use
Change-Id: Icd76794b5f81990a583aa1b7ed921fbd08b2d797 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -30,9 +30,7 @@ HaskellSettings::HaskellSettings()
|
||||
setDisplayCategory(Tr::tr("Haskell"));
|
||||
setCategoryIconPath(":/haskell/images/settingscategory_haskell.png");
|
||||
|
||||
registerAspect(&stackPath);
|
||||
stackPath.setSettingsKey("Haskell/StackExecutable");
|
||||
stackPath.setDisplayStyle(StringAspect::PathChooserDisplay);
|
||||
stackPath.setExpectedKind(PathChooser::ExistingCommand);
|
||||
stackPath.setPromptDialogTitle(Tr::tr("Choose Stack Executable"));
|
||||
stackPath.setCommandVersionArguments({"--version"});
|
||||
|
||||
Reference in New Issue
Block a user