diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2020-08-28 15:31:05 +0300 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2020-09-04 11:48:27 +0000 |
commit | e6343c296a1705fc0e5c2c2efe093a3bf5f751f1 (patch) | |
tree | e57a21edfab13f93086ef553381433d91e70cee2 /share | |
parent | f1bb1bf572371c470b91ed48d4fd716a90c1d540 (diff) |
QmlDesigner: Generate qml id from image file name
When dragging an image file to create a Image or Texture item,
base the id on the file name rather than setting it to generic name
based on type.
This includes cleanup of AbstractView::generateNewId to remove
redundant and unused code as well as an option to provide a fallback
id prefix.
Change-Id: I563f1760ffbace9c5c2145477ec8736836f36c45
Fixes: QDS-2328
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions