Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PIM Messagelib
Commits
39aaba15
Commit
39aaba15
authored
Jun 05, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Q_FALLTHROUGH
parent
1dfe20b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
messagelist/src/storagemodel.cpp
messagelist/src/storagemodel.cpp
+6
-0
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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