Skip to content
Permalink
Browse files

Follow up 248bc5d

  • Loading branch information
borysiasty committed Nov 25, 2017
1 parent 3d6aa9c commit 5c22e31397be6a7eedacb1bce0162247e9ddb94b
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/app/pluginmanager/qgspluginmanager.cpp
@@ -819,13 +819,14 @@ void QgsPluginManager::showPluginDetails( QStandardItem *item )
{
iconPath = "qrc" + iconPath;
}
#if !defined(Q_OS_WIN)
// Only add the file:// prefix on non-windows systems
else if ( ! iconPath.startsWith( QLatin1String( "http" ) ) )
{
#if defined(Q_OS_WIN)
iconPath = "file:///" + iconPath;
#else
iconPath = "file://" + iconPath;
}
#endif
}
html += QStringLiteral( "<img src=\"%1\" style=\"float:right;max-width:64px;max-height:64px;\">" ).arg( iconPath );
}

0 comments on commit 5c22e31

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