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

Const'ify variable

parent 9e8af263
......@@ -472,7 +472,7 @@ void KTNEFMain::slotShowMessageText()
return;
}
QString rtf = mParser->message()->rtfString();
const QString rtf = mParser->message()->rtfString();
if (!rtf.isEmpty()) {
auto tmpFile =
new QTemporaryFile(QStandardPaths::writableLocation(QStandardPaths::TempLocation) + QLatin1String("/ktnef/") + QLatin1String("ktnef_XXXXXX.rtf"));
......
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