Skip to content

Commit 2a095f4

Browse files
committed
fix tests
1 parent 8394981 commit 2a095f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/pluginmanager/qgspluginmanager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ void QgsPluginManager::showPluginDetails( QStandardItem *item )
940940
{
941941
QString ver = metadata->value( QStringLiteral( "version_installed" ) );
942942
if ( ver == QLatin1String( "-1" ) ) ver = '?';
943-
html += QStringLiteral( "<tr><td class='key'>%1 </td><td class='version' title='%2 %3'> %4 <a href=\"%5\">
943+
html += QStringLiteral( "<tr><td class='key'>%1 </td><td class='version' title='%2 %3'> %4 <a href=\"%5\">"
944944
"<img src=\"qrc:/images/themes/default/externalLink.svg\"></a></td></tr>"
945945
).arg( tr( "Installed version" ),
946946
tr( "in" ),
@@ -954,7 +954,7 @@ void QgsPluginManager::showPluginDetails( QStandardItem *item )
954954
if ( downloadUrl.contains( QStringLiteral( "plugins.qgis.org" ) ) )
955955
{
956956
// For the main repo, open the plugin version page instead of the download link. For other repositories the download link is the only known endpoint.
957-
downloadUrl = downloadUrl.replace( QStringLiteral( "download/" ), QStringLiteral( "" ) );
957+
downloadUrl = downloadUrl.replace( QStringLiteral( "download/" ), QString() );
958958
}
959959

960960
html += QStringLiteral( "<tr><td class='key'>%1 </td><td class='version' title='%2 %3'> %4 <a href=\"%5\">"

0 commit comments

Comments
 (0)