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

templateName as argument name for QTemporaryDir is misleading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.3.1
    • 5.3.0 Beta1
    • Core: I/O, Documentation
    • None
    • 0a0cc6afc8be1ab38367ad803a303f35f29ed5de

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes