We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 0dc1257 commit 9bd0d7aCopy full SHA for 9bd0d7a
src/gui/qgshelp.cpp
@@ -53,7 +53,15 @@ QUrl QgsHelp::helpUrl( const QString& key )
53
54
Q_FOREACH ( const QString& path, paths )
55
{
56
- fullPath = path;
+ if ( path.endsWith( "\\" ) || path.endsWith( "/" ) )
57
+ {
58
+ fullPath = path.left( path.size() - 1 );
59
+ }
60
+ else
61
62
+ fullPath = path;
63
64
+
65
Q_FOREACH ( const QString& var, scope->variableNames() )
66
67
QRegularExpression rx( QStringLiteral( "(<!\\$\\$)*(\\$%1)" ).arg( var ) );
0 commit comments