From 15bc29aef81dc9dd4fe66b8ea2013185ab855d53 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Fri, 11 Feb 2022 00:52:25 +0600 Subject: [PATCH] qt: Resize code cleanup --- src/qt/qt_mainwindow.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index f765027af..3c6496596 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -195,11 +195,7 @@ MainWindow::MainWindow(QWidget *parent) : + (ui->toolBar->height() * !hide_tool_bar); ui->stackedWidget->resize(w, h); - if (vid_resize == 0) { - setFixedSize(w, modifiedHeight); - } else { - resize(w, modifiedHeight); - } + setFixedSize(w, modifiedHeight); } });