Commit c70d7f8b authored by Nate Graham's avatar Nate Graham
Browse files

Fix compilation following clang tidy

parent fdf83121
......@@ -1178,7 +1178,7 @@ bool FlatpakBackend::flatpakResourceLessThan(AbstractResource *l, AbstractResour
return (l->isInstalled() != r->isInstalled()) ? l->isInstalled()
: (l->origin() != r->origin()) ? m_sources->originIndex(l->origin()) < m_sources->originIndex(r->origin())
: (l->rating() && r->rating() && l->rating()->ratingPoints() != r->rating()->ratingPoints()) ? l->rating()->ratingPoints() > r->rating()->ratingPoints()
: l < r; : l < r);
: l < r;
// clang-format on
}
......
......@@ -37,8 +37,8 @@ public:
if (fwupd_remote_get_approval_required(remote)) {
QString eulaText = i18n("The remote %1 require that you accept their license:\n %2",
QString::fromUtf8(fwupd_remote_get_title(remote)),
QString::fromUtf8(fwupd_remote_get_agreement(remote));
Q_EMIT m_backend->proceedRequest(i18n("Review EULA"), eulaText));
QString::fromUtf8(fwupd_remote_get_agreement(remote)));
Q_EMIT m_backend->proceedRequest(i18n("Review EULA"), eulaText);
} else {
m_backend->proceed();
}
......
Supports Markdown
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