From f1c0203237b976c366bedd950a2e6ffbcb8f7bcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 21 Dec 2017 14:59:09 +0100 Subject: Some pleanups and small fixes These are just code fixes. Shouldn't change anything but makes code cleaner. --- qtmips_gui/newdialog.cpp | 1 - qtmips_gui/newdialog.h | 1 - 2 files changed, 2 deletions(-) (limited to 'qtmips_gui') diff --git a/qtmips_gui/newdialog.cpp b/qtmips_gui/newdialog.cpp index bbaa73a..9d0e1ad 100644 --- a/qtmips_gui/newdialog.cpp +++ b/qtmips_gui/newdialog.cpp @@ -36,7 +36,6 @@ NewDialog::NewDialog(QWidget *parent, QSettings *settings) : QDialog(parent) { NewDialog::~NewDialog() { delete ui; // Settings is freed by parent - delete elf_dialog; } void NewDialog::cancel() { diff --git a/qtmips_gui/newdialog.h b/qtmips_gui/newdialog.h index d9e850e..1e266a1 100644 --- a/qtmips_gui/newdialog.h +++ b/qtmips_gui/newdialog.h @@ -27,7 +27,6 @@ protected: private: Ui::NewDialog *ui; QSettings *settings; - QFileDialog *elf_dialog; void load_settings(); void store_settings(); -- cgit v1.2.3