tsMuxer/tsMuxerGUI
Daniel Kamil Kozar c22aada8df
Fix numbers appearing in places where the language code should
The original code paired the position inside the langComboBox with an address
into the shortLangList/fullLangList arrays by leveraging the second QVariant
argument of QComboBox::addItem. This was achieved by casting the pointer firstly
to a void*, and then to a qulonglong. However, the code using these QVariants
in QComboBox signal handler functions has since been changed to always call
toString(), which was incorrect and led to addresses being shown in the UI in
the form of longish decimal numbers.

Funnily enough, it looks like these shenanigans weren't even really needed : the
only part of the language pair used in the signal handler functions is the
three-letter code, which can be simply converted to a QString at the time
QComboBox::addItem is called.

Fixes #87.
2019-12-21 20:51:53 +01:00
..
2019-08-10 22:52:51 +01:00
2019-07-15 16:52:40 +01:00
2019-07-15 16:52:40 +01:00
2019-07-15 16:52:40 +01:00
2019-12-10 22:42:23 +00:00
2019-07-15 16:52:40 +01:00
2019-07-15 16:52:40 +01:00
2019-07-15 16:52:40 +01:00
2019-12-10 22:42:23 +00:00