Don't use function removed in Qt5

This commit is contained in:
Abs62 2013-12-18 19:29:25 +04:00
parent 34271ecc1d
commit 8b6b6918b8

View file

@ -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--; )
{