mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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