1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 04:54:18 +00:00

Clean up Web UI code

This commit is contained in:
Christophe Dumez 2011-09-25 14:39:01 +03:00
parent 5fe562c0fa
commit 4c5dd66b0f

View File

@ -131,7 +131,7 @@ void HttpConnection::translateDocument(QString& data) {
} }
// Remove keyboard shortcuts // Remove keyboard shortcuts
translation = translation.replace(mnemonic, ""); translation.replace(mnemonic, "");
data.replace(i, regex.matchedLength(), translation); data.replace(i, regex.matchedLength(), translation);
i += translation.length(); i += translation.length();