mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +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() {
|
void MainWindow::updateMinimumSize() {
|
||||||
setMinimumWidth(computeMinWidth());
|
setMinimumSize(QSize(computeMinWidth(), computeMinHeight()));
|
||||||
setMinimumHeight(computeMinHeight());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::recountGeometryConstraints() {
|
void MainWindow::recountGeometryConstraints() {
|
||||||
|
Reference in New Issue
Block a user