Mercurial > hg > svgui
comparison widgets/TransformFinder.cpp @ 1598:b1f3b5678549
Use Provider structure
author | Chris Cannam |
---|---|
date | Mon, 20 Apr 2020 18:46:49 +0100 |
parents | d39db4673676 |
children | 5e091b0e317c |
comparison
equal
deleted
inserted
replaced
1597:7eb595837eaa | 1598:b1f3b5678549 |
---|---|
294 selectedText += tr("<br> — Category: %1") | 294 selectedText += tr("<br> — Category: %1") |
295 .arg(XmlExportable::encodeEntities(desc.category)); | 295 .arg(XmlExportable::encodeEntities(desc.category)); |
296 } | 296 } |
297 selectedText += tr("<br> — System identifier: %1") | 297 selectedText += tr("<br> — System identifier: %1") |
298 .arg(XmlExportable::encodeEntities(desc.identifier)); | 298 .arg(XmlExportable::encodeEntities(desc.identifier)); |
299 if (desc.infoUrl != "") { | 299 if (desc.provider.infoUrl != "") { |
300 selectedText += tr("<br> — More information: <a href=\"%1\">%1</a>") | 300 selectedText += tr("<br> — More information: <a href=\"%1\">%1</a>") |
301 .arg(desc.infoUrl); | 301 .arg(desc.provider.infoUrl); |
302 } | |
303 if (desc.provider.downloadUrl != "") { | |
304 selectedText += tr("<br> — Downloads: <a href=\"%1\">%1</a>") | |
305 .arg(desc.provider.downloadUrl); | |
302 } | 306 } |
303 selectedText += tr("</small>"); | 307 selectedText += tr("</small>"); |
304 | 308 |
305 if (i >= (int)m_labels.size()) { | 309 if (i >= (int)m_labels.size()) { |
306 SelectableLabel *label = new SelectableLabel(m_resultsFrame); | 310 SelectableLabel *label = new SelectableLabel(m_resultsFrame); |