e77304562d
There were two problems with the last commit: * the list needed to be outside of the top-level loop. * BList was just broken for sorting translation_format pointers. I fixed this by moving the loop outside and converting the translation_formats to translator_info, which has the translator_id, since that is needed to create the menu item, and would otherwise be unavailable outside the loop. I tried to get this working with BList, but the sorting was completely broken, and converting to BObjectList made the code much, much better and worked great. Screw BList and casting, hurray templated BObjectList. Really fixes #6782. |
||
---|---|---|
.. | ||
BitmapStream.h | ||
TranslationDefs.h | ||
TranslationErrors.h | ||
TranslationUtils.h | ||
Translator.h | ||
TranslatorAddOn.h | ||
TranslatorFormats.h | ||
TranslatorRoster.h |