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:
@@ -580,8 +580,7 @@ void MainWindow::refreshTitleWidget() {
|
||||
}
|
||||
|
||||
void MainWindow::updateMinimumSize() {
|
||||
setMinimumWidth(computeMinWidth());
|
||||
setMinimumHeight(computeMinHeight());
|
||||
setMinimumSize(QSize(computeMinWidth(), computeMinHeight()));
|
||||
}
|
||||
|
||||
void MainWindow::recountGeometryConstraints() {
|
||||
|
Reference in New Issue
Block a user