aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-12-21 14:59:09 +0100
committerKarel Kočí <cynerd@email.cz>2017-12-21 14:59:09 +0100
commitf1c0203237b976c366bedd950a2e6ffbcb8f7bcd (patch)
tree263a80f63f3b5056e5997edaf8ac694a73927e5c /qtmips_gui
parent5715b6b916a5049b2f5542c022a41f895b9572a4 (diff)
downloadqtmips-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.cpp1
-rw-r--r--qtmips_gui/newdialog.h1
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();