Commit ec5464e7 authored by Nate Graham's avatar Nate Graham 💤
Browse files

Only show full name in review dialog

Summary:
The review gets submitted with your full name, but the review dialog currently shows
both the full name and username. This patch removes the username display so that it shows
the actual name string that will be used.

Test Plan:
Before: {F7860875}
After: {F7860874}

Reviewers: #discover_software_store, apol

Reviewed By: #discover_software_store, apol

Subscribers: jgrulich, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26421
parent c5c42a84
......@@ -195,7 +195,7 @@ void OdrsReviewsBackend::usefulnessSubmitted()
QString OdrsReviewsBackend::userName() const
{
return i18n("%1 (%2)", KUser().property(KUser::FullName).toString(), KUser().loginName());
return KUser().property(KUser::FullName).toString();
}
void OdrsReviewsBackend::submitReview(AbstractResource *res, const QString &summary, const QString &description, const QString &rating)
......
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