Update file-utils.cpp

This commit is contained in:
Zhai Kangning 2021-07-07 06:20:22 +00:00
parent 7f04d303f2
commit ee3060f30f
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ bool FileUtils::isOrUnder(QString pathA, QString pathB)
{
if(pathA[0] != "/")
pathA.prepend("/");
if(pathA[0] != "/")
if(pathB[0] != "/")
pathB.prepend("/");
if(pathA.length() < pathB.length())