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
236340c4
Commit
236340c4
authored
Aug 10, 2022
by
Laurent Montel
Browse files
Don't try to load cache from empty collection id
parent
eed933cd
Pipeline
#215677
passed with stage
in 10 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagelist/src/core/threadingcache.cpp
View file @
236340c4
...
...
@@ -71,6 +71,11 @@ void ThreadingCache::load(const QString &id, const Aggregation *aggregation)
mGrouping
=
aggregation
->
grouping
();
mEnabled
=
true
;
if
(
id
.
isEmpty
())
{
qCDebug
(
MESSAGELIST_LOG
)
<<
"Invalid collection: id is empty"
;
return
;
}
const
QString
cacheFileName
=
QStandardPaths
::
locate
(
QStandardPaths
::
CacheLocation
,
QStringLiteral
(
"messagelist/threading/%1"
).
arg
(
id
),
QStandardPaths
::
LocateFile
);
if
(
cacheFileName
.
isEmpty
())
{
...
...
Laurent Montel
@mlaurent
mentioned in commit
eddafbd7
·
Aug 10, 2022
mentioned in commit
eddafbd7
mentioned in commit eddafbd79ba3b3eb31a8d2130bd92bfb67d3e3f8
Toggle commit list
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