Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
39aaba15
Commit
39aaba15
authored
Jun 05, 2017
by
Laurent Montel
Browse files
Use Q_FALLTHROUGH
parent
1dfe20b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
messagelist/src/storagemodel.cpp
View file @
39aaba15
...
...
@@ -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
()));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment