mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix build for Linux.
This commit is contained in:
parent
d684c8057c
commit
809b0e9fe0
3 changed files with 0 additions and 3 deletions
|
@ -33,7 +33,6 @@ CloudTheme CloudTheme::Parse(
|
||||||
not_null<Main::Session*> session,
|
not_null<Main::Session*> session,
|
||||||
const MTPDtheme &data,
|
const MTPDtheme &data,
|
||||||
bool parseSettings) {
|
bool parseSettings) {
|
||||||
constexpr auto size = sizeof(CloudTheme);
|
|
||||||
const auto document = data.vdocument();
|
const auto document = data.vdocument();
|
||||||
const auto paper = [&]() -> std::optional<WallPaper> {
|
const auto paper = [&]() -> std::optional<WallPaper> {
|
||||||
if (const auto settings = data.vsettings()) {
|
if (const auto settings = data.vsettings()) {
|
||||||
|
|
|
@ -921,7 +921,6 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
|
||||||
return this->itemTop(elem) < bottom;
|
return this->itemTop(elem) < bottom;
|
||||||
});
|
});
|
||||||
if (from != end) {
|
if (from != end) {
|
||||||
auto viewport = QRect(); // #TODO bubbles
|
|
||||||
auto top = itemTop(from->get());
|
auto top = itemTop(from->get());
|
||||||
auto context = _controller->preparePaintContext({
|
auto context = _controller->preparePaintContext({
|
||||||
.theme = _theme.get(),
|
.theme = _theme.get(),
|
||||||
|
|
|
@ -1613,7 +1613,6 @@ void ListWidget::paintEvent(QPaintEvent *e) {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (from != end(_items)) {
|
if (from != end(_items)) {
|
||||||
auto viewport = QRect(); // #TODO bubbles
|
|
||||||
auto top = itemTop(from->get());
|
auto top = itemTop(from->get());
|
||||||
auto context = controller()->preparePaintContext({
|
auto context = controller()->preparePaintContext({
|
||||||
.theme = _delegate->listChatTheme(),
|
.theme = _delegate->listChatTheme(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue