[Parley] Fix wrong displayed grade/pregrade in practise mode

Review Request #128901 - Created Sept. 13, 2016 and submitted

Information
Hartmut Riesenbeck
parley
master
Reviewers
kdeedu

The grade/pregrade display at the upper right corner of the practice
dialog fails for conjugation, gender of nouns and comparsion sessions.
The grades of the base entry were shown instead of the congugation
resp. article or comparsion ones.

The missing virtual methods in the appropriate backend classed were added.

Later it turned out that grade values are correct but pregrade values were displayed false. This was caused by a bug in libkeduvocdocument. The m_preGrade and m_intervall members of KEduVocText were not copied by the assignment operator. I posted a bugfix for review already.
https://git.reviewboard.kde.org/r/128975/
So this patch won't work correct without the mentioned libkeduvocdocument patch.

BUG: 368749

Manual testing

Files


Hartmut Riesenbeck
Albert Astals Cid
Hartmut Riesenbeck
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit b2ddc4a2bf4147ad5c435d4199e1cfc8f4176aba by Hartmut Riesenbeck to branch master.
Loading...