2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use RpWindow's method to set minimum window size

This commit is contained in:
Ilya Fedin
2022-02-22 15:06:29 +04:00
committed by John Preston
parent 5d5b964f4e
commit feb2d3066e

View File

@@ -580,8 +580,7 @@ void MainWindow::refreshTitleWidget() {
}
void MainWindow::updateMinimumSize() {
setMinimumWidth(computeMinWidth());
setMinimumHeight(computeMinHeight());
setMinimumSize(QSize(computeMinWidth(), computeMinHeight()));
}
void MainWindow::recountGeometryConstraints() {