# HG changeset patch
# User Chris Cannam
# Date 1587404809 -3600
# Node ID b1f3b56785490a61a25c1b92f5a9fd312fc3c57e
# Parent 7eb595837eaa338c8c1a07a96d5e027241d1fc3e
Use Provider structure
diff -r 7eb595837eaa -r b1f3b5678549 widgets/TransformFinder.cpp
--- 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("
— System identifier: %1")
.arg(XmlExportable::encodeEntities(desc.identifier));
- if (desc.infoUrl != "") {
+ if (desc.provider.infoUrl != "") {
selectedText += tr("
— More information: %1")
- .arg(desc.infoUrl);
+ .arg(desc.provider.infoUrl);
+ }
+ if (desc.provider.downloadUrl != "") {
+ selectedText += tr("
— Downloads: %1")
+ .arg(desc.provider.downloadUrl);
}
selectedText += tr("");