Skip to content
Permalink
Browse files
Remove algorithm description header
  • Loading branch information
pathmapper authored and nyalldawson committed Sep 6, 2021
1 parent dcef058 commit 4659870d5f9ce5bbe244375bd993ed56a2320d50
@@ -85,8 +85,7 @@ def accept(self):
QDialog.accept(self)

def getHtml(self):
s = self.tr('<h2>Algorithm description</h2>\n')
s += '<p>' + self.getDescription(self.ALG_DESC) + '</p>\n'
s = '<p>' + self.getDescription(self.ALG_DESC) + '</p>\n'
s += self.tr('<h2>Input parameters</h2>\n')
for param in self.alg.parameterDefinitions():
if param.flags() & QgsProcessingParameterDefinition.FlagHidden or param.isDestination():
@@ -1038,8 +1038,8 @@ QString QgsProcessingUtils::formatHelpMapAsHtml( const QVariantMap &map, const Q
return QString();
};

QString s = QObject::tr( "<html><body><h2>Algorithm description</h2>\n" );
s += QStringLiteral( "<p>" ) + getText( QStringLiteral( "ALG_DESC" ) ) + QStringLiteral( "</p>\n" );
QString s;
s += QStringLiteral( "<html><body><p>" ) + getText( QStringLiteral( "ALG_DESC" ) ) + QStringLiteral( "</p>\n" );

QString inputs;
const auto parameterDefinitions = algorithm->parameterDefinitions();

0 comments on commit 4659870

Please sign in to comment.