mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Started work on adding Peer ID spoofing settings for Web UI (incomplete)
This commit is contained in:
parent
132b1f7ffe
commit
8271e20fac
2 changed files with 40 additions and 1 deletions
|
@ -108,7 +108,7 @@ QString HttpConnection::translateDocument(QString data) {
|
|||
bool found = false;
|
||||
do {
|
||||
found = false;
|
||||
QRegExp regex("_\\(([\\w\\s?!:\\/\\(\\),\\-\\.]+)\\)");
|
||||
QRegExp regex(QString::fromUtf8("_\\(([\\w\\s?!:\\/\\(\\),µ\\-\\.]+)\\)"));
|
||||
i = regex.indexIn(data, i);
|
||||
if(i >= 0) {
|
||||
//qDebug("Found translatable string: %s", regex.cap(1).toUtf8().data());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue