Skip to content
Commit ed569ecc authored by Fushan Wen's avatar Fushan Wen
Browse files

kdiroperator: fix full file path not being stripped

QDir::isReadable always returns true for an unknown path if the
parent folder is readable, so use QFileInfo::isReadable instead.

Need to use QUrl::StripTrailingSlash and QUrl::RemoveFilename separately
since in QUrlPrivate::appendPath, QUrl::RemoveFilename is done before
QUrl::StripTrailingSlash.

BUG: 459900
FIXED-IN: 5.102
parent a4cd546c
Loading
Loading
Loading
Pipeline #294791 passed with stage
in 37 minutes and 51 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment