mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix -Wunused-variable warnings
This commit is contained in:
@@ -286,7 +286,6 @@ void Manager::moveWidgets() {
|
||||
}
|
||||
|
||||
if (count > 1 || !_queuedNotifications.empty()) {
|
||||
auto deltaY = st::notifyHideAllHeight + st::notifyDeltaY;
|
||||
if (!_hideAll) {
|
||||
_hideAll = std::make_unique<HideAllButton>(this, notificationStartPosition(), lastShiftCurrent, notificationShiftDirection());
|
||||
}
|
||||
@@ -728,7 +727,6 @@ void Notification::paintEvent(QPaintEvent *e) {
|
||||
p.setClipRect(e->rect());
|
||||
p.drawPixmap(0, 0, _cache);
|
||||
|
||||
auto buttonsLeft = st::notifyPhotoPos.x() + st::notifyPhotoSize + st::notifyTextLeft;
|
||||
auto buttonsTop = st::notifyTextTop + st::msgNameFont->height;
|
||||
if (a_actionsOpacity.animating()) {
|
||||
p.setOpacity(a_actionsOpacity.value(1.));
|
||||
|
Reference in New Issue
Block a user