Fix build on macOS.
This commit is contained in:
parent
1252accef7
commit
1eeba65ddb
|
@ -241,7 +241,7 @@ ShareBoxResult Shown::shareBox(ShareBoxDescriptor &&descriptor) {
|
|||
object_ptr<Ui::BoxContent>,
|
||||
std::unique_ptr<Ui::LayerWidget>> &&layer,
|
||||
Ui::LayerOptions options,
|
||||
anim::type animated) const {
|
||||
anim::type animated) const override {
|
||||
using UniqueLayer = std::unique_ptr<Ui::LayerWidget>;
|
||||
using ObjectBox = object_ptr<Ui::BoxContent>;
|
||||
const auto stack = _lookup();
|
||||
|
@ -255,7 +255,7 @@ ShareBoxResult Shown::shareBox(ShareBoxDescriptor &&descriptor) {
|
|||
stack->hideAll(animated);
|
||||
}
|
||||
}
|
||||
not_null<QWidget*> toastParent() const {
|
||||
not_null<QWidget*> toastParent() const override {
|
||||
return _parent.data();
|
||||
}
|
||||
bool valid() const override {
|
||||
|
|
|
@ -159,7 +159,7 @@ private:
|
|||
[[nodiscard]] QSize computeSlideshowDimensions(
|
||||
const QVector<MTPPageBlock> &items);
|
||||
|
||||
const Options _options;
|
||||
//const Options _options;
|
||||
const QByteArray _fileOriginPostfix;
|
||||
|
||||
base::flat_set<QByteArray> _resources;
|
||||
|
@ -203,8 +203,8 @@ private:
|
|||
}
|
||||
|
||||
Parser::Parser(const Source &source, const Options &options)
|
||||
: _options(options)
|
||||
, _fileOriginPostfix('/' + Number(source.pageId)) {
|
||||
: /*_options(options)
|
||||
, */_fileOriginPostfix('/' + Number(source.pageId)) {
|
||||
process(source);
|
||||
_result.name = source.name;
|
||||
_result.rtl = source.page.data().is_rtl();
|
||||
|
|
Loading…
Reference in New Issue