Review Request 128901: [Parley] Fix wrong displayed grade/pregrade in practise mode

Hartmut Riesenbeck hartmut.riesenbeck at
Sun Oct 30 19:28:00 UTC 2016

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 30, 2016, 8:28 p.m.)


This change has been marked as submitted.

Review request for KDE Edu.


Submitted with commit b2ddc4a2bf4147ad5c435d4199e1cfc8f4176aba by Hartmut Riesenbeck to branch master.

Repository: parley


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.
So this patch won't work correct without the mentioned libkeduvocdocument patch.

BUG: 368749


  src/practice/comparisonbackendmode.h f99dc3aa9d6cdf1128e72f24f3c079d02d9ad3bb 
  src/practice/comparisonbackendmode.cpp 2dcfe126ca851311aa48b5422c16189f3aedc03c 
  src/practice/conjugationbackendmode.cpp 7e05584a6ae0c39a137f07272ca810a51b08323a 
  src/practice/genderbackendmode.h 676e39cbd4434d26475c1464e53fca6c883a5775 
  src/practice/genderbackendmode.cpp 724e4c46e968f1ac337d5e11c3e36af5ce27fc69 
  src/practice/practicestatemachine.cpp bc03ffe01d7a6bf57a04508ea74f944825283138 



Manual testing

File Attachments



Hartmut Riesenbeck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-edu mailing list