Fix build for Linux.

This commit is contained in:
John Preston 2021-08-28 14:55:23 +03:00
parent d684c8057c
commit 809b0e9fe0
3 changed files with 0 additions and 3 deletions

View file

@ -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()) {

View file

@ -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(),

View file

@ -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(),