Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-35402

QDir: absoluteFilePath returns wrong path for SMB share

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.1
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:
      Windows
    • Commits:
      b5241296f8600ea3ba962c45ed8038abec5343f1

      Description

      QDir("//server").absoluteFilePath("foo") returns "//serverfoo"

      There is an assumption that isRoot() always ends with a slash, which is wrong in this case.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              orgads Orgad Shaneh
              Reporter:
              orgads Orgad Shaneh
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes