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

templateName as argument name for QTemporaryDir is misleading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.3.0 Beta1
    • Fix Version/s: 5.3.1
    • Component/s: Core: I/O, Documentation
    • Labels:
      None
    • Commits:
      0a0cc6afc8be1ab38367ad803a303f35f29ed5de

      Description

      QTemporaryDir::QTemporaryDir(const QString & templateName)

      templateName is quite misleading because you can easily expect that the system temporary directory is prepended as default. But in that case it is
      creating a temporary file in the working directory. The documentation says it but not very clearly. Better would be in my opinion to call it templatePath.

        Attachments

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

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            bubke Marco Bubke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes