Fix build with GCC.
This commit is contained in:
parent
ac136638a4
commit
74014d18a5
|
@ -180,9 +180,6 @@ void InnerWidget::createButtons() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const auto &small = st::dialogsStories;
|
const auto &small = st::dialogsStories;
|
||||||
const auto count = int(content.elements.size());
|
|
||||||
const auto smallWidth = small.photo + (count - 1) * small.shift;
|
|
||||||
const auto real = smallWidth;
|
|
||||||
const auto height = small.photo + 2 * small.photoTop;
|
const auto height = small.photo + 2 * small.photoTop;
|
||||||
const auto top = (size.height() - height) / 2;
|
const auto top = (size.height() - height) / 2;
|
||||||
const auto right = st::settingsButtonRightSkip
|
const auto right = st::settingsButtonRightSkip
|
||||||
|
|
Loading…
Reference in New Issue
Block a user