Commit 09e97189 authored by Marcel Wiesweg's avatar Marcel Wiesweg
Browse files

Fix null pointer access of d->hints, thanks to TSa

CCBUG: 323062
parent 352b7121
......@@ -1098,6 +1098,7 @@ void CollectionScanner::scanFileNormal(const QFileInfo& fi, const ItemScanInfo&
if (scanInfo.modificationDate.isNull() ||
(hasAnyHint && d->hints->hasRescanHint( )
if (hasAnyHint)
QWriteLocker locker(&d->hints->lock);
Supports Markdown
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