This is the current code to fetch the iconUrl:
// Icon urls QString concatIconUrlStrings = value(document, XapianValues::ICON_URLS); QStringList iconUrlStrings = concatIconUrlStrings.split('\n',QString::SkipEmptyParts); if(iconUrlStrings.size() %2 == 0) { for(int i = 0; i < iconUrlStrings.size(); i=i+2) { QString sizeStr = iconUrlStrings.at(i); QUrl url = QUrl::fromUserInput(iconUrlStrings.at(i+1)); QSize size = parseSizeString(sizeStr); component.addIconUrl(url, size); } } else { qCWarning(APPSTREAMQT_DB, "Bad icon-url strings for component: '%s' (%s)", qPrintable(id), qPrintable(concatIconUrlStrings)); }
I suspect the format has changed internally and the code in Qt side isn't working anymore. Any pointers of how to fix it will be very welcome, in order to get a proper fix.
The text was updated successfully, but these errors were encountered:
This is the current code to fetch the iconUrl:
I suspect the format has changed internally and the code in Qt side isn't working anymore. Any pointers of how to fix it will be very welcome, in order to get a proper fix.
The text was updated successfully, but these errors were encountered: