mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Fix compilation with Qt4
This commit is contained in:
parent
1ecf9aebe6
commit
85fa1de699
2
qt4x5.hh
2
qt4x5.hh
|
@ -82,7 +82,7 @@ inline QByteArray encodedQueryItemValue( QUrl const & url, QString const & item
|
|||
#if IS_QT_5
|
||||
return QUrlQuery( url ).queryItemValue( item, QUrl::FullyEncoded ).toLatin1();
|
||||
#else
|
||||
return url.encodedQueryItemValue( item );
|
||||
return url.encodedQueryItemValue( item.toLatin1() );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue