mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Don't use function removed in Qt5
This commit is contained in:
parent
34271ecc1d
commit
8b6b6918b8
|
@ -325,7 +325,9 @@ void loadDictionaries( QWidget * parent, bool showInitially,
|
|||
set< string > ids;
|
||||
std::pair< std::set< string >::iterator, bool > ret;
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
|
||||
QTextCodec::setCodecForCStrings( QTextCodec::codecForName( "UTF8" ) );
|
||||
#endif
|
||||
|
||||
for( unsigned x = dictionaries.size(); x--; )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue