[Digikam-devel] [Bug 278331] Digikam does not access files on NAS

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Jul 23 15:15:14 BST 2011


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





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-23 14:15:14 ---
This is the relevant code in collectionmanager.cpp:
    QString path = fileUrl.toLocalFile(KUrl::RemoveTrailingSlash);
    QDir dir(path);
    if (!dir.isReadable())
    {
       *message = i18n("The selected folder does not exist or is not
readable");
    }
as you see, it looks pretty innocent. We'd need to check that nothing is done
to the file path prior to this, then why QDir says the directory is not
readable. I dont have a NAS for testing here.

-- 
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