2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Fix detaching temporaries

This commit is contained in:
Ilya Fedin
2023-12-22 13:26:54 +04:00
committed by John Preston
parent f3bda59019
commit 9d582040e6
3 changed files with 4 additions and 3 deletions

View File

@@ -1693,7 +1693,7 @@ Link::Link(
domain = parts.at(2);
}
parts = domain.split('@').back().split('.', Qt::SkipEmptyParts);
parts = domain.split('@').constLast().split('.', Qt::SkipEmptyParts);
if (parts.size() > 1) {
_letter = parts.at(parts.size() - 2).at(0).toUpper();
if (_title.isEmpty()) {