mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
Fix build for Xcode.
This commit is contained in:
parent
a5cbade8ec
commit
250718e766
3 changed files with 6 additions and 4 deletions
|
@ -1323,14 +1323,14 @@ SendFilesBox::SendFilesBox(
|
|||
const TextWithTags &caption,
|
||||
CompressConfirm compressed)
|
||||
: _list(std::move(list))
|
||||
, _compressConfirmInitial(compressed)
|
||||
, _compressConfirm(compressed)
|
||||
, _caption(
|
||||
this,
|
||||
st::confirmCaptionArea,
|
||||
Ui::InputField::Mode::MultiLine,
|
||||
FieldPlaceholder(_list),
|
||||
caption)
|
||||
, _compressConfirmInitial(compressed)
|
||||
, _compressConfirm(compressed) {
|
||||
caption) {
|
||||
}
|
||||
|
||||
void SendFilesBox::initPreview(rpl::producer<int> desiredPreviewHeight) {
|
||||
|
|
|
@ -83,7 +83,9 @@ QRegularExpression CreateRegExp(const QString &expression) {
|
|||
auto result = QRegularExpression(
|
||||
expression,
|
||||
QRegularExpression::UseUnicodePropertiesOption);
|
||||
#ifndef OS_MAC_OLD
|
||||
result.optimize();
|
||||
#endif // OS_MAC_OLD
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -648,7 +648,7 @@ public:
|
|||
Inner(not_null<InputField*> parent) : QTextEdit(parent) {
|
||||
}
|
||||
|
||||
QVariant loadResource(int type, const QUrl &name) {
|
||||
QVariant loadResource(int type, const QUrl &name) override {
|
||||
return outer()->loadResource(type, name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue