summaryrefslogtreecommitdiffstats
path: root/application/dialogs/NewInstanceDialog.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-03-27 22:02:57 +0200
committerPetr Mrázek <peterix@gmail.com>2018-03-27 22:02:57 +0200
commit40a30b67f454fb07593a9755a9b341d2a5b9969b (patch)
tree3631054ba87bd166954b11d9de70932cec51da4a /application/dialogs/NewInstanceDialog.h
parent12b304ea7306bb8b964194fbe30a6b5a81ed85b9 (diff)
downloadMultiMC-40a30b67f454fb07593a9755a9b341d2a5b9969b.tar
MultiMC-40a30b67f454fb07593a9755a9b341d2a5b9969b.tar.gz
MultiMC-40a30b67f454fb07593a9755a9b341d2a5b9969b.tar.lz
MultiMC-40a30b67f454fb07593a9755a9b341d2a5b9969b.tar.xz
MultiMC-40a30b67f454fb07593a9755a9b341d2a5b9969b.zip
NOISSUE save the new instance dialog geometry when the dialog is accepted
Diffstat (limited to 'application/dialogs/NewInstanceDialog.h')
-rw-r--r--application/dialogs/NewInstanceDialog.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/application/dialogs/NewInstanceDialog.h b/application/dialogs/NewInstanceDialog.h
index ca134d32..9d7cab01 100644
--- a/application/dialogs/NewInstanceDialog.h
+++ b/application/dialogs/NewInstanceDialog.h
@@ -50,11 +50,13 @@ public:
QString instGroup() const;
QString iconKey() const;
-private
-slots:
+public slots:
+ void accept() override;
+ void reject() override;
+
+private slots:
void on_iconButton_clicked();
void on_instNameTextBox_textChanged(const QString &arg1);
- virtual void closeEvent(QCloseEvent *event);
private:
Ui::NewInstanceDialog *ui = nullptr;