summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp

index 95c56554..e6e75ee1 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp
@@ -181,8 +181,8 @@ MainWindow::resizeEvent(QResizeEvent *event) void MainWindow::adjustSideBars() { - const int timelineWidth = chat_page_->timelineWidth(); - const int minAvailableWidth = + const uint64_t timelineWidth = chat_page_->timelineWidth(); + const uint64_t minAvailableWidth = conf::sideBarCollapsePoint + ui::sidebar::CommunitiesSidebarSize; if (timelineWidth < minAvailableWidth && !chat_page_->isSideBarExpanded()) {