D25116: Changed the order of initialization for the statistics window.
Lukas Kirschner
noreply at phabricator.kde.org
Sat Nov 2 12:11:15 GMT 2019
kirschner created this revision.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
kirschner requested review of this revision.
REVISION SUMMARY
If a file with more than two languages was loaded and a language with an index larger than 1 was selected in the practice window "learning language" combobox, the program crashed due to a segmentation fault. This was because the check if the index loaded from the settings was performed after the first access of the checked variable.
BUG: 413720
TEST PLAN
Tested manually
REPOSITORY
R340 Parley
BRANCH
Fixed-Wrong-Statistics-Window-Initialization (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D25116
AFFECTED FILES
src/statistics/statisticsmainwindow.cpp
To: kirschner
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191102/bcff9a99/attachment.html>
More information about the kde-edu
mailing list