mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +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
|
#if IS_QT_5
|
||||||
return QUrlQuery( url ).queryItemValue( item, QUrl::FullyEncoded ).toLatin1();
|
return QUrlQuery( url ).queryItemValue( item, QUrl::FullyEncoded ).toLatin1();
|
||||||
#else
|
#else
|
||||||
return url.encodedQueryItemValue( item );
|
return url.encodedQueryItemValue( item.toLatin1() );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue