[Digikam-devel] [Bug 221155] Add collection fails on similarly named directories (seems that check is not strict enough)

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Jan 21 18:18:00 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=221155





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2010-01-21 19:17:59 ---
rootPath = ~/Images/apn
filePath = ~/Images/apn-reflex/xyz

if (filePath.startsWith(rootPath))
{
    ...
}

That's the current code. The mistake is obvious, you already point to it above.
I want to avoid accessing the filesystem here, just compare strings.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list