mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-13 01:57:07 -07:00
Suppress warning about signed/unsigned mismatch.
This commit is contained in:
parent
092a1d4f33
commit
077006d4d6
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
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);
|
||||||
++context_index;
|
++context_index;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue