Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-8402

Adding images from content library to project should notice if image is already imported and not prompt for overwrite when the file is identical

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • QDS 3.9
    • QDS 3.9
    • Content Library
    • None

    Description

      Adding images from content library to project should notice if image is already imported and not prompt for overwrite when the file is identical. The checking should be done in addFilesToProject function (modelnodeoperations.cpp), which should just return success without copying anything if identical file already exists in project. Identical means same name and content, but e.g. combination of name and last modified could be used for simplicity unless there is already a ready made file API for determining if file is exactly the same. (Either in Utils::FilePath, or QFileInfo)

      Attachments

        For Gerrit Dashboard: QDS-8402
        # Subject Branch Project Status CR V

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes