Fix compilation with Qt4

This commit is contained in:
Abs62 2015-11-11 21:29:10 +03:00
parent 1ecf9aebe6
commit 85fa1de699

View file

@ -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
}