mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-09-11 21:42:08 +00:00
Suppress warning about signed/unsigned mismatch.
This commit is contained in:
parent
273725d9dc
commit
fddd337e34
@ -166,7 +166,7 @@ void HttpConnection::translateDocument(QString& data) {
|
|||||||
|
|
||||||
QString translation = word;
|
QString translation = word;
|
||||||
if (isTranslationNeeded) {
|
if (isTranslationNeeded) {
|
||||||
int context_index = 0;
|
size_t context_index = 0;
|
||||||
while(context_index < context_count && translation == word) {
|
while(context_index < context_count && translation == word) {
|
||||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||||
translation = qApp->translate(contexts[context_index].c_str(), word.constData(), 0, QCoreApplication::UnicodeUTF8, 1);
|
translation = qApp->translate(contexts[context_index].c_str(), word.constData(), 0, QCoreApplication::UnicodeUTF8, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user