2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build on Windows.

This commit is contained in:
John Preston
2024-08-09 16:44:18 +02:00
parent ba4c521d7a
commit 78e09f2605
2 changed files with 1 additions and 2 deletions

View File

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

View File

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