mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Move SendButton/EmojiButton to td_ui.
This commit is contained in:
@@ -133,25 +133,3 @@ inline const QRegularExpression &cRussianLetters() {
|
||||
static QRegularExpression regexp(QString::fromUtf8("[а-яА-ЯёЁ]"));
|
||||
return regexp;
|
||||
}
|
||||
|
||||
inline const QStringList &cImgExtensions() {
|
||||
static QStringList result;
|
||||
if (result.isEmpty()) {
|
||||
result.reserve(4);
|
||||
result.push_back(qsl(".jpg"));
|
||||
result.push_back(qsl(".jpeg"));
|
||||
result.push_back(qsl(".png"));
|
||||
result.push_back(qsl(".gif"));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
inline const QStringList &cExtensionsForCompress() {
|
||||
static QStringList result;
|
||||
if (result.isEmpty()) {
|
||||
result.push_back(qsl(".jpg"));
|
||||
result.push_back(qsl(".jpeg"));
|
||||
result.push_back(qsl(".png"));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user