mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
add contact menu item added
This commit is contained in:
@@ -341,3 +341,12 @@ typedef enum {
|
||||
HitTestLeft,
|
||||
HitTestTopLeft,
|
||||
} HitTestType;
|
||||
|
||||
inline QString strMakeFromLetters(const uint32 *letters, int32 len) {
|
||||
QString result;
|
||||
result.reserve(len);
|
||||
for (int32 i = 0; i < len; ++i) {
|
||||
result.push_back(QChar((((letters[i] << 16) & 0xFF) >> 8) | (letters[i] & 0xFF)));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user