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
@@ -612,7 +612,6 @@ WindowPosition MainWindow::nextInitialChildPosition(SeparateId childId) {
const auto adjust = [&](int value) {
return (value * 3 / 4);
};
const auto secondaryWithChatsList = !childId.primary() && childId.hasChatsList();
const auto width = OptionNewWindowsSizeAsFirst.value()
? Core::App().settings().windowPosition().w
: childId.primary()