mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Fix build on Windows.
This commit is contained in:
parent
ba4c521d7a
commit
78e09f2605
2 changed files with 1 additions and 2 deletions
|
@ -234,7 +234,7 @@ void ConfirmSubscriptionBox(
|
|||
Ui::Text::WithEntities),
|
||||
st::inviteLinkSubscribeBoxAbout)));
|
||||
Ui::AddSkip(content);
|
||||
const auto terms = box->addRow(
|
||||
box->addRow(
|
||||
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
|
||||
box,
|
||||
object_ptr<Ui::FlatLabel>(
|
||||
|
|
|
@ -116,7 +116,6 @@ InviteLinkSubscriptionToggle FillCreateInviteLinkSubscriptionToggle(
|
|||
p.setFont(st.placeholderFont);
|
||||
p.setPen(st.placeholderFg);
|
||||
p.setBrush(Qt::NoBrush);
|
||||
const auto textWidth = st.placeholderFont->width(text);
|
||||
const auto m = QMargins(0, skip, right, 0);
|
||||
p.drawText(priceOverlay->rect() - m, text, style::al_right);
|
||||
}, priceOverlay->lifetime());
|
||||
|
|
Loading…
Add table
Reference in a new issue