[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdevelop/parts/documentation/plugins/devhelp
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-10-17 10:12:58
Message-ID: 1224238378.656207.28648.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 872468 by apaku:

also check for readability, apparently  QDir::entryInfoList also returns a 0 pointer in that case.
BUG:173012


 M  +1 -1      docdevhelpplugin.cpp  


--- branches/KDE/3.5/kdevelop/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp #872467:872468
@@ -219,7 +219,7 @@
 void DocDevHelpPlugin::scanDevHelpDir(const QString &path)
 {
     QDir d(path);
-    if (! d.exists())
+    if (! d.exists() || !d.isReadable())
         return;
     
     d.setFilter(QDir::Files);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic