Mercurial > hg > svgui
diff widgets/TransformFinder.cpp @ 1598:b1f3b5678549
Use Provider structure
author | Chris Cannam |
---|---|
date | Mon, 20 Apr 2020 18:46:49 +0100 |
parents | d39db4673676 |
children | 5e091b0e317c |
line wrap: on
line diff
--- a/widgets/TransformFinder.cpp Thu Apr 09 17:09:11 2020 +0100 +++ b/widgets/TransformFinder.cpp Mon Apr 20 18:46:49 2020 +0100 @@ -296,9 +296,13 @@ } selectedText += tr("<br> — System identifier: %1") .arg(XmlExportable::encodeEntities(desc.identifier)); - if (desc.infoUrl != "") { + if (desc.provider.infoUrl != "") { selectedText += tr("<br> — More information: <a href=\"%1\">%1</a>") - .arg(desc.infoUrl); + .arg(desc.provider.infoUrl); + } + if (desc.provider.downloadUrl != "") { + selectedText += tr("<br> — Downloads: <a href=\"%1\">%1</a>") + .arg(desc.provider.downloadUrl); } selectedText += tr("</small>");