mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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),
|
Ui::Text::WithEntities),
|
||||||
st::inviteLinkSubscribeBoxAbout)));
|
st::inviteLinkSubscribeBoxAbout)));
|
||||||
Ui::AddSkip(content);
|
Ui::AddSkip(content);
|
||||||
const auto terms = box->addRow(
|
box->addRow(
|
||||||
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
|
object_ptr<Ui::CenterWrap<Ui::FlatLabel>>(
|
||||||
box,
|
box,
|
||||||
object_ptr<Ui::FlatLabel>(
|
object_ptr<Ui::FlatLabel>(
|
||||||
|
|
|
@ -116,7 +116,6 @@ InviteLinkSubscriptionToggle FillCreateInviteLinkSubscriptionToggle(
|
||||||
p.setFont(st.placeholderFont);
|
p.setFont(st.placeholderFont);
|
||||||
p.setPen(st.placeholderFg);
|
p.setPen(st.placeholderFg);
|
||||||
p.setBrush(Qt::NoBrush);
|
p.setBrush(Qt::NoBrush);
|
||||||
const auto textWidth = st.placeholderFont->width(text);
|
|
||||||
const auto m = QMargins(0, skip, right, 0);
|
const auto m = QMargins(0, skip, right, 0);
|
||||||
p.drawText(priceOverlay->rect() - m, text, style::al_right);
|
p.drawText(priceOverlay->rect() - m, text, style::al_right);
|
||||||
}, priceOverlay->lifetime());
|
}, priceOverlay->lifetime());
|
||||||
|
|
Loading…
Add table
Reference in a new issue