diff options
author | Henning Gruendl <henning.gruendl@qt.io> | 2021-09-06 14:44:02 +0200 |
---|---|---|
committer | Henning Gründl <henning.gruendl@qt.io> | 2021-09-08 06:47:51 +0000 |
commit | a09ec2e0e98046291dfa4c28223666f2673546ab (patch) | |
tree | 9f500a98744db89549ac87cd7921496a843d1e11 /src/plugins/cppeditor/cppfunctiondecldeflink.h | |
parent | 3930679f27a299b9abd97cedccab82d89a5dffee (diff) |
QmlDesigner: Fix project tree widget renaming
When renaming an item in the project tree widget which has concatenated
filename extensions like *.ui.qml the selection in the LineEdit will
reach till the last dot.
* Extend FilePath suffix and completeBaseName function so they will
treat the suffix *.ui.qml as one
* Make use of the function in ProjectTreeWidget::editCurrentItem
* Replace QFileInfo::suffix with Utils::FilePath::suffix in
FlatModel::setData
Task-number: QDS-2713
Change-Id: I30d0e6d87a7512d42fd3d40b2282b94e79b43684
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppfunctiondecldeflink.h')
0 files changed, 0 insertions, 0 deletions