[Digikam-devel] [Bug 128231] A way to view pictures recursively in albums and sub-albums at the same time would be cool
Arnd Baecker
arnd.baecker at web.de
Mon Nov 19 11:36:00 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=128231
------- Additional Comments From arnd.baecker web de 2007-11-19 12:35 -------
There is maybe one issue with that solution: it uses "/" in the path
separator. According to the Qt docs this is ok, if "/" is throughout the code.
Another option would be:
urlWithTrailingSlash = QDir::cleanDirPath(kurl.path(1));
however, the previous line does not work, because cleanDirPath
removes the trailing / again ...
This following one works (for me), but there must have been a reason
to use url = QDir::cleanDirPath(kurl.path()); instead
of url = kurl.path() ??
urlWithTrailingSlash = kurl.path(1);
To me this sounds like the best approach
(but this is in ignornance of why cleanDirPath would be relevant here).
More information about the Digikam-devel
mailing list