Version 3.3: Fix build with GCC.
This commit is contained in:
parent
9f117cd680
commit
4b03fd0f23
|
@ -550,11 +550,6 @@ QRect Row::elementGeometry(int element, int outerWidth) const {
|
|||
const auto size = QSize(
|
||||
st::sessionTerminate.width,
|
||||
st::sessionTerminate.height);
|
||||
const auto margins = QMargins(
|
||||
0,
|
||||
(st::sessionListItem.height - size.height()) / 2,
|
||||
st::sessionListThreeDotsSkip,
|
||||
0);
|
||||
const auto right = st::sessionTerminateSkip;
|
||||
const auto top = st::sessionTerminateTop;
|
||||
const auto left = outerWidth - right - size.width();
|
||||
|
|
|
@ -86,7 +86,6 @@ Image *ReplyPreview::image(
|
|||
} else {
|
||||
Assert(_photo != nullptr);
|
||||
if (!_image || !_good) {
|
||||
const auto createMedia = !_photoMedia;
|
||||
const auto inlineThumbnailBytes = _photo->inlineThumbnailBytes();
|
||||
if (!_photoMedia) {
|
||||
_photoMedia = _photo->createMediaView();
|
||||
|
|
Loading…
Reference in New Issue