Browse Source

Clean up Web UI code

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
4c5dd66b0f
  1. 2
      src/webui/httpconnection.cpp

2
src/webui/httpconnection.cpp

@ -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();

Loading…
Cancel
Save