Diffusion Kate b9dba2d2c16b

New Tabswitcher: Fix cut-off path strings

Authored by gregormi on Oct 15 2018, 12:56 AM.

Description

New Tabswitcher: Fix cut-off path strings

Summary:
...and add GUI test program for testing the TabswitcherFilesModel.

The reason was, that the truncating function used the Kate document name which can be "README.md (2)" where the " (2)" is appended to the filename. In these cases 3 characters were cut-off too much (see https://phabricator.kde.org/D16054).

Reviewers: Kate, dhaumann

Reviewed By: Kate, dhaumann

Subscribers: dhaumann, cullmann, kwrite-devel

Tags: Kate

Differential Revision: https://phabricator.kde.org/D16214

Details

Committed
gregormiOct 15 2018, 1:09 AM
Reviewer
Kate
Differential Revision
D16214: New Tabswitcher: Fix cut-off path strings
Parents
R40:4b33a7e44a27: tabswitchertest: use QFETCH
Branches
Unknown
Tags
Unknown