diff options
| author | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-04-14 18:57:14 +0300 |
|---|---|---|
| committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2016-04-22 09:49:53 +0000 |
| commit | e27fae353ca9a2d4d5054d32bb3a2622ccf9d889 (patch) | |
| tree | 58874939b22062d2923b832f144ca6c82e3b412b /examples/opengl/contextinfo/widget.cpp | |
| parent | ea64dc9a113a850334fbf47ca2cdc3b447945c25 (diff) | |
QFileSystemModel: fix updating QFileInfo for a node after a file rename
Use the correct parent path for the renamed file when creating
QFileInfo. It must be a path to the parent directory, not to the
root directory of the model.
Modify tst_QFileSystemModel::setData() to test renames in subdirs
of the root directory of the model.
Change-Id: I69d9e3a937616857a81617791ed118af3f6eea05
Task-number: QTBUG-52561
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'examples/opengl/contextinfo/widget.cpp')
0 files changed, 0 insertions, 0 deletions
