mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-10 04:23:58 +00:00
Using QFileInfo::baseName() discards everything after the first ., so filenames like 1.2.3.4.png would be changed to 1.png. (See #1722). Changing this to QFileInfo::completeBaseName() only discards the suffix, so we have 1.2.3.4.jpg becoming 1.2.3.4.png, for example.