Commit graph

8 commits

Author SHA1 Message Date
Ivailo Monev
e07fc01227 kdecore: return the value of KGlobal::hasLocale() from KDETranslator::isEmpty() and check it from KDETranslator::translate()
fixes possible crash due to accessing the private KLocale data after
destruction

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-06 10:10:46 +02:00
Ivailo Monev
b8b37e01a3 kdecore: actually install the KDETranslator
was non-operational code due to QT_NO_TRANSLATION being defined in the
kglobal source file for some reason, it has a huge impact on performance
ofcourse because anything Katie will attempt to translate will go trough it

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-02 11:02:51 +02:00
Ivailo Monev
5e303b4d16 kdecore: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-07 18:14:03 +03:00
Ivailo Monev
a9ef1523ff kdecore: remove old QTranslator virtual method overload
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-06 01:24:47 +03:00
Ivailo Monev
d00c56fe0b generic: adjust to Katie changes
also fixes build with QT_NO_TRANSLATION, symbols will not exists in the
library even if QT_NO_TRANSLATION is undefined and redefined

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2020-11-29 02:25:45 +00:00
Ivailo Monev
eeba19d4c4 generic: misc cleanups 2015-09-04 13:06:11 +00:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00