Commit 39aaba15 authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_FALLTHROUGH

parent 1dfe20b9
......@@ -299,12 +299,18 @@ void StorageModel::fillMessageItemThreadingData(MessageList::Core::MessageItem *
mi->setSubjectIsPrefixed(subject != strippedSubject);
// fall through
}
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
case PerfectThreadingPlusReferences: {
const auto refs = mail->references()->identifiers();
if (!refs.isEmpty()) {
mi->setReferencesIdMD5(md5Encode(refs.last()));
}
}
#if QT_VERSION >= QT_VERSION_CHECK(5,8,0)
Q_FALLTHROUGH();
#endif
// fall through
case PerfectThreadingOnly: {
mi->setMessageIdMD5(md5Encode(mail->messageID()->identifier()));
......
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