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

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

      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)

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes