diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-10 02:06:45 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-10 02:06:49 +0200 |
commit | e1101d3e20ef976b4cbc78ae30c2565e8911fe73 (patch) | |
tree | f61762d57645c4ecc66aa49854538e38ba231c99 | |
parent | configure_hotkeys: Avoid dialog memory leak within Configure() (diff) | |
download | yuzu-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 |
-rw-r--r-- | src/yuzu/configuration/configure_hotkeys.cpp | 2 |
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(); |