Update file-utils.cpp
This commit is contained in:
parent
7f04d303f2
commit
ee3060f30f
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue