fix: chinese opencc does not work on linux

This commit is contained in:
yifang 2022-01-29 09:27:32 +08:00
parent 0eb49e4a6b
commit f7b2f3151d
2 changed files with 2 additions and 4 deletions

View file

@ -274,7 +274,6 @@ Preferences::Preferences():
{
}
#ifdef MAKE_CHINESE_CONVERSION_SUPPORT
Chinese::Chinese():
enable( false ),
enableSCToTWConversion( true ),
@ -282,7 +281,6 @@ Chinese::Chinese():
enableTCToSCConversion( true )
{
}
#endif
Romaji::Romaji():
enable( false ),

View file

@ -464,7 +464,7 @@ struct Hunspell
/// All the MediaWikis
typedef QVector< MediaWiki > MediaWikis;
#ifdef MAKE_CHINESE_CONVERSION_SUPPORT
/// Chinese transliteration configuration
struct Chinese
{
@ -486,7 +486,7 @@ struct Chinese
{ return ! operator == ( other ); }
};
#endif
/// Romaji transliteration configuration
struct Romaji