mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix build with Xcode and GCC.
This commit is contained in:
parent
b829ed3530
commit
076d5c756a
3 changed files with 1 additions and 4 deletions
|
@ -597,7 +597,6 @@ bool EmojiListWidget::enumerateSections(Callback callback) const {
|
|||
|
||||
auto i = 0;
|
||||
auto info = SectionInfo();
|
||||
const auto session = &controller()->session();
|
||||
const auto next = [&] {
|
||||
info.rowsCount = info.collapsed
|
||||
? kCollapsedRows
|
||||
|
@ -789,7 +788,6 @@ void EmojiListWidget::paintEvent(QPaintEvent *e) {
|
|||
const auto widthForTitle = emojiRight()
|
||||
- (st::emojiPanHeaderLeft - st::roundRadiusSmall)
|
||||
- paintButtonGetWidth(p, info, buttonSelected, r);
|
||||
const auto skip = st::roundRadiusSmall;
|
||||
if (info.section > 0 && r.top() < info.rowsTop) {
|
||||
p.setFont(st::emojiPanHeaderFont);
|
||||
p.setPen(st::emojiPanHeaderFg);
|
||||
|
|
|
@ -578,7 +578,6 @@ void StickersListFooter::paintSelectionBg(Painter &p) const {
|
|||
if (rtl()) {
|
||||
selx = width() - selx - selw;
|
||||
}
|
||||
const auto skip = st::emojiIconSelectSkip;
|
||||
const auto sely = _iconsTop;
|
||||
const auto area = st::emojiIconArea;
|
||||
const auto rect = QRect(
|
||||
|
|
|
@ -440,7 +440,7 @@ void Form::processDetails(const MTPDpayments_paymentReceipt &data) {
|
|||
&& !_thumbnailLoadProcess) {
|
||||
_invoice.cover = Ui::Cover{
|
||||
.title = qs(data.vtitle()),
|
||||
.description = qs(data.vdescription()),
|
||||
.description = { qs(data.vdescription()) },
|
||||
};
|
||||
if (const auto web = data.vphoto()) {
|
||||
if (const auto photo = _session->data().photoFromWeb(*web, {})) {
|
||||
|
|
Loading…
Add table
Reference in a new issue