Wrong handling of filenames with multiple dots for window title
Opened this issue · 0 comments
bassklampfe commented
Take a label file named "USB-Mini-et.al..glabels"
Window title is displayed as "USB-Mini-et", but it should be "USB-Mini-et.al."
As far as I can read from the source, in QString Model::shortName() should change
QFileInfo fileInfo( mFileName );
return fileInfo.baseName();
to
QFileInfo fileInfo( mFileName );
return fileInfo.completeBaseName();
GLABELS
Version: 3.99-master564SYSTEM INFO
OS: Ubuntu 22.04.5 LTS
Kernel: linux 5.15.0-124-generic
Build CPU Architecture: x86_64
Current CPU Architecture: x86_64LOCALE
Name: de_DE