2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Version 5.2: Fix build with GCC.

This commit is contained in:
John Preston
2024-06-30 23:59:03 +04:00
parent 7eb98b50ec
commit 707951accb
8 changed files with 1 additions and 22 deletions

View File

@@ -116,7 +116,6 @@ void EditPriceBox(
not_null<Main::Session*> session,
uint64 price,
Fn<void(uint64)> apply) {
const auto owner = &session->data();
box->setTitle(tr::lng_paid_title());
AddSubsectionTitle(
box->verticalLayout(),
@@ -837,7 +836,6 @@ QImage SendFilesBox::preparePriceTagBg(QSize size) const {
bg = QImage(ratio, ratio, QImage::Format_ARGB32_Premultiplied);
bg.fill(Qt::black);
}
const auto bgSize = bg.size() / bg.devicePixelRatio();
auto result = QImage(size * ratio, QImage::Format_ARGB32_Premultiplied);
result.setDevicePixelRatio(ratio);