Commit be1ca46c authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

flatpak: properly pass QString

parent d8b92bba
......@@ -1221,7 +1221,7 @@ ResultsStream * FlatpakBackend::findResourceByPackageName(const QUrl &url)
else {
auto stream = new ResultsStream(QStringLiteral("FlatpakStream"));
auto f = [this, stream, appstreamIds] () {
const auto resources = kAppend<QVector<AbstractResource*>>(appstreamIds, [this] (const QString appstreamId) { return resourcesByAppstreamName(appstreamId); });
const auto resources = kAppend<QVector<AbstractResource*>>(appstreamIds, [this] (const QString &appstreamId) { return resourcesByAppstreamName(appstreamId); });
if (!resources.isEmpty())
Q_EMIT stream->resourcesFound(resources);
stream->finish();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment