mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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,
|
||||
const MTPDtheme &data,
|
||||
bool parseSettings) {
|
||||
constexpr auto size = sizeof(CloudTheme);
|
||||
const auto document = data.vdocument();
|
||||
const auto paper = [&]() -> std::optional<WallPaper> {
|
||||
if (const auto settings = data.vsettings()) {
|
||||
|
|
|
@ -921,7 +921,6 @@ void InnerWidget::paintEvent(QPaintEvent *e) {
|
|||
return this->itemTop(elem) < bottom;
|
||||
});
|
||||
if (from != end) {
|
||||
auto viewport = QRect(); // #TODO bubbles
|
||||
auto top = itemTop(from->get());
|
||||
auto context = _controller->preparePaintContext({
|
||||
.theme = _theme.get(),
|
||||
|
|
|
@ -1613,7 +1613,6 @@ void ListWidget::paintEvent(QPaintEvent *e) {
|
|||
});
|
||||
|
||||
if (from != end(_items)) {
|
||||
auto viewport = QRect(); // #TODO bubbles
|
||||
auto top = itemTop(from->get());
|
||||
auto context = controller()->preparePaintContext({
|
||||
.theme = _delegate->listChatTheme(),
|
||||
|
|
Loading…
Add table
Reference in a new issue