mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
Merge pull request #1778 from sorokin/fix-warn
Suppress warning about signed/unsigned mismatch.
This commit is contained in:
commit
63aa41ee42
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ void HttpConnection::translateDocument(QString& data) {
|
|||
|
||||
QString translation = word;
|
||||
if (isTranslationNeeded) {
|
||||
int context_index = 0;
|
||||
size_t context_index = 0;
|
||||
while(context_index < context_count && translation == word) {
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
|
||||
translation = qApp->translate(contexts[context_index].c_str(), word.constData(), 0, QCoreApplication::UnicodeUTF8, 1);
|
||||
|
|
Loading…
Reference in a new issue