Fix build on macOS.
This commit is contained in:
parent
dc464b2718
commit
7d2ad39a26
|
@ -152,7 +152,7 @@ void TranslateTracker::switchTranslation(
|
||||||
if (item->translationShowRequiresRequest(id)) {
|
if (item->translationShowRequiresRequest(id)) {
|
||||||
_itemsToRequest.emplace(
|
_itemsToRequest.emplace(
|
||||||
item->fullId(),
|
item->fullId(),
|
||||||
ItemToRequest{ item->originalText().text.size() });
|
ItemToRequest{ int(item->originalText().text.size()) });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,6 @@ public:
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
void fillButtons();
|
void fillButtons();
|
||||||
Success addColor();
|
|
||||||
|
|
||||||
[[nodiscard]] Chosen *chosen() const;
|
[[nodiscard]] Chosen *chosen() const;
|
||||||
[[nodiscard]] rpl::producer<Chosen*> chosenChanges() const;
|
[[nodiscard]] rpl::producer<Chosen*> chosenChanges() const;
|
||||||
|
@ -91,9 +90,6 @@ void ColorsLine::init() {
|
||||||
setLastChosen();
|
setLastChosen();
|
||||||
}
|
}
|
||||||
|
|
||||||
ColorsLine::Success ColorsLine::addColor() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void ColorsLine::fillButtons() {
|
void ColorsLine::fillButtons() {
|
||||||
_container = base::make_unique_q<Ui::RpWidget>(this);
|
_container = base::make_unique_q<Ui::RpWidget>(this);
|
||||||
const auto container = _container.get();
|
const auto container = _container.get();
|
||||||
|
|
|
@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "base/timer.h"
|
#include "base/timer.h"
|
||||||
|
#include "base/qt/qt_compare.h"
|
||||||
#include "ui/rp_widget.h"
|
#include "ui/rp_widget.h"
|
||||||
#include "ui/effects/animations.h"
|
#include "ui/effects/animations.h"
|
||||||
#include "ui/text/text_custom_emoji.h"
|
#include "ui/text/text_custom_emoji.h"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit e5ac664fe397d5874a244bbbc8a7b266223cb88b
|
Subproject commit 46385c35458d41ce589a75db51f320842794e31a
|
Loading…
Reference in New Issue