summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-10 02:06:45 +0200
committerLioncash <mathew1800@gmail.com>2019-04-10 02:06:49 +0200
commite1101d3e20ef976b4cbc78ae30c2565e8911fe73 (patch)
treef61762d57645c4ecc66aa49854538e38ba231c99 /src
parentconfigure_hotkeys: Avoid dialog memory leak within Configure() (diff)
downloadyuzu-e1101d3e20ef976b4cbc78ae30c2565e8911fe73.tar
yuzu-e1101d3e20ef976b4cbc78ae30c2565e8911fe73.tar.gz
yuzu-e1101d3e20ef976b4cbc78ae30c2565e8911fe73.tar.bz2
yuzu-e1101d3e20ef976b4cbc78ae30c2565e8911fe73.tar.lz
yuzu-e1101d3e20ef976b4cbc78ae30c2565e8911fe73.tar.xz
yuzu-e1101d3e20ef976b4cbc78ae30c2565e8911fe73.tar.zst
yuzu-e1101d3e20ef976b4cbc78ae30c2565e8911fe73.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_hotkeys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_hotkeys.cpp b/src/yuzu/configuration/configure_hotkeys.cpp
index 31347ce5a..a7a8752e5 100644
--- a/src/yuzu/configuration/configure_hotkeys.cpp
+++ b/src/yuzu/configuration/configure_hotkeys.cpp
@@ -74,7 +74,7 @@ void ConfigureHotkeys::Configure(QModelIndex index) {
auto* const model = ui->hotkey_list->model();
const auto previous_key = model->data(index);
- SequenceDialog hotkey_dialog;
+ SequenceDialog hotkey_dialog{this};
const int return_code = hotkey_dialog.exec();
const auto key_sequence = hotkey_dialog.GetSequence();