mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Use RpWindow's method to set minimum window size
This commit is contained in:
parent
5d5b964f4e
commit
feb2d3066e
1 changed files with 1 additions and 2 deletions
|
@ -580,8 +580,7 @@ void MainWindow::refreshTitleWidget() {
|
|||
}
|
||||
|
||||
void MainWindow::updateMinimumSize() {
|
||||
setMinimumWidth(computeMinWidth());
|
||||
setMinimumHeight(computeMinHeight());
|
||||
setMinimumSize(QSize(computeMinWidth(), computeMinHeight()));
|
||||
}
|
||||
|
||||
void MainWindow::recountGeometryConstraints() {
|
||||
|
|
Loading…
Add table
Reference in a new issue