Commit 3834cf78 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix compile against qt6.4

"error C2397: conversion from 'qsizetype' to 'int' requires a narrowing
conversion"
parent 197a7f69
Pipeline #248921 passed with stage
in 7 minutes and 47 seconds
......@@ -103,7 +103,7 @@ KDirectoryContentsCounterWorker::CountResult KDirectoryContentsCounterWorker::su
} else {
filters |= QDir::AllEntries;
}
return {dir.entryList(filters).count(), 0};
return {static_cast<int>(dir.entryList(filters).count()), 0};
#else
const uint maxRecursiveLevel = DetailsModeSettings::directorySizeCount() ? 1 : DetailsModeSettings::recursiveDirectorySizeLimit();
......
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