diff options
author | Karel Kočí <cynerd@email.cz> | 2017-12-21 14:59:09 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-12-21 14:59:09 +0100 |
commit | f1c0203237b976c366bedd950a2e6ffbcb8f7bcd (patch) | |
tree | 263a80f63f3b5056e5997edaf8ac694a73927e5c /qtmips_gui | |
parent | 5715b6b916a5049b2f5542c022a41f895b9572a4 (diff) | |
download | qtmips-f1c0203237b976c366bedd950a2e6ffbcb8f7bcd.tar.gz qtmips-f1c0203237b976c366bedd950a2e6ffbcb8f7bcd.tar.bz2 qtmips-f1c0203237b976c366bedd950a2e6ffbcb8f7bcd.zip |
Some pleanups and small fixes
These are just code fixes. Shouldn't change anything but makes code
cleaner.
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/newdialog.cpp | 1 | ||||
-rw-r--r-- | qtmips_gui/newdialog.h | 1 |
2 files changed, 0 insertions, 2 deletions
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(); |