- Started work on adding Peer ID spoofing settings for Web UI (incomplete)

This commit is contained in:
Christophe Dumez 2009-12-30 16:21:05 +00:00
parent 132b1f7ffe
commit 8271e20fac
2 changed files with 40 additions and 1 deletions

View file

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