qt: Resize code cleanup

This commit is contained in:
Cacodemon345
2022-02-11 00:52:25 +06:00
parent ad79da2700
commit 15bc29aef8

View File

@@ -195,11 +195,7 @@ MainWindow::MainWindow(QWidget *parent) :
+ (ui->toolBar->height() * !hide_tool_bar); + (ui->toolBar->height() * !hide_tool_bar);
ui->stackedWidget->resize(w, h); ui->stackedWidget->resize(w, h);
if (vid_resize == 0) { setFixedSize(w, modifiedHeight);
setFixedSize(w, modifiedHeight);
} else {
resize(w, modifiedHeight);
}
} }
}); });