diff options
Diffstat (limited to 'framework/src/domain/mime/mailtemplates.cpp')
-rw-r--r-- | framework/src/domain/mime/mailtemplates.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/src/domain/mime/mailtemplates.cpp b/framework/src/domain/mime/mailtemplates.cpp index f672692b..dc4f93b5 100644 --- a/framework/src/domain/mime/mailtemplates.cpp +++ b/framework/src/domain/mime/mailtemplates.cpp | |||
@@ -102,7 +102,8 @@ QString replacePrefixes(const QString &str, const QStringList &prefixRegExps, co | |||
102 | if (rx.indexIn(tmp) == 0) { | 102 | if (rx.indexIn(tmp) == 0) { |
103 | return tmp.replace(0, rx.matchedLength(), newPrefix + QLatin1String(" ")); | 103 | return tmp.replace(0, rx.matchedLength(), newPrefix + QLatin1String(" ")); |
104 | } | 104 | } |
105 | return str; | 105 | //No match, we just prefix the newPrefix |
106 | return newPrefix + " " + str; | ||
106 | } | 107 | } |
107 | 108 | ||
108 | const QStringList getForwardPrefixes() | 109 | const QStringList getForwardPrefixes() |