Skip to content
Permalink
Browse files

fix tests

  • Loading branch information
borysiasty committed Sep 13, 2018
1 parent 8394981 commit 2a095f4d2b32764ed0e3537bca1920f30415485d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/pluginmanager/qgspluginmanager.cpp
@@ -940,7 +940,7 @@ void QgsPluginManager::showPluginDetails( QStandardItem *item )
{
QString ver = metadata->value( QStringLiteral( "version_installed" ) );
if ( ver == QLatin1String( "-1" ) ) ver = '?';
html += QStringLiteral( "<tr><td class='key'>%1 </td><td class='version' title='%2 %3'> %4 <a href=\"%5\">
html += QStringLiteral( "<tr><td class='key'>%1 </td><td class='version' title='%2 %3'> %4 <a href=\"%5\">"
"<img src=\"qrc:/images/themes/default/externalLink.svg\"></a></td></tr>"
).arg( tr( "Installed version" ),
tr( "in" ),
@@ -954,7 +954,7 @@ void QgsPluginManager::showPluginDetails( QStandardItem *item )
if ( downloadUrl.contains( QStringLiteral( "plugins.qgis.org" ) ) )
{
// 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.
downloadUrl = downloadUrl.replace( QStringLiteral( "download/" ), QStringLiteral( "" ) );
downloadUrl = downloadUrl.replace( QStringLiteral( "download/" ), QString() );
}

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

0 comments on commit 2a095f4

Please sign in to comment.
You can’t perform that action at this time.