From 97d0528550a94642210006ff22b0f41820e702a0 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 10 Nov 2018 01:17:02 -0500 Subject: [PATCH] DRY --- GUI/extenwindow.ui | 20 -------------------- GUI/mainwindow.cpp | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/GUI/extenwindow.ui b/GUI/extenwindow.ui index 7ae493f..b1ae569 100644 --- a/GUI/extenwindow.ui +++ b/GUI/extenwindow.ui @@ -16,26 +16,6 @@ Extensions - - - QObject - { - font: 10pt "MS Shell Dlg 2"; - } - #textOutput - { - font: 13pt "MS Shell Dlg 2"; - } - QPushButton, QComboBox - { - padding-top: 3px; - padding-bottom: 3px; - padding-right: 5px; - padding-left: 5px; - text-align: left; - } - - diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index 129f10c..a352158 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -8,7 +8,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), - extenWindow(new ExtenWindow) + extenWindow(new ExtenWindow(this)) { ui->setupUi(this);