Commit cf14d336 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use static here too

parent 218e7ec6
......@@ -228,9 +228,9 @@ QString stripSignature(const QString &msg)
{
// Following RFC 3676, only > before --
// I prefer to not delete a SB instead of delete good mail content.
const QRegularExpression sbDelimiterSearch(QStringLiteral("(^|\n)[> ]*-- \n"));
static const QRegularExpression sbDelimiterSearch(QStringLiteral("(^|\n)[> ]*-- \n"));
// The regular expression to look for prefix change
const QRegularExpression commonReplySearch(QStringLiteral("^[ ]*>"));
static const QRegularExpression commonReplySearch(QStringLiteral("^[ ]*>"));
QString res = msg;
int posDeletingStart = 1; // to start looking at 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment