mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 15:04:57 +00:00
Version 5.2: Fix build with GCC.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user