mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Add const to class function
This commit is contained in:
parent
230949ee3b
commit
f907328bdc
2 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@ void WebApplication::sendWebUIFile()
|
|||
sendFile(localPath);
|
||||
}
|
||||
|
||||
void WebApplication::translateDocument(QString &data)
|
||||
void WebApplication::translateDocument(QString &data) const
|
||||
{
|
||||
const QRegularExpression regex("QBT_TR\\((([^\\)]|\\)(?!QBT_TR))+)\\)QBT_TR\\[CONTEXT=([a-zA-Z_][a-zA-Z0-9_]*)\\]");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue