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

            Bug ID: 416046
           Summary: Suggest to check that QDir().exists(...) is used
                    correctly
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: avol...@astralinux.ru
                CC: smart...@kde.org
  Target Milestone: ---

It is used in several places in KDE:
https://lxr.kde.org/search?_filestring=&_string=QDir%5C%28%5C%29.exists

Warn that QDir().exists(path) checks for the existence of path and doesn't
check that path is a directory. Suggest to use QFile::exists() or
QFileInfo(path).isDir() instead.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to