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

templateName as argument name for QTemporaryDir is misleading

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.3.1
    • 5.3.0 Beta1
    • Core: I/O, Documentation
    • None
    • 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

        For Gerrit Dashboard: QTBUG-38266
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            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