mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Add const to class function
This commit is contained in:
@@ -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_]*)\\]");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user