summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_hotkeys.h
diff options
context:
space:
mode:
authorKewlan <colin_rehn@hotmail.com>2020-04-23 13:31:16 +0200
committerKewlan <colin_rehn@hotmail.com>2020-04-24 23:50:26 +0200
commita19c6317ef78de6425944038dfd5b5638170dd79 (patch)
tree143d9cdbaa54a28a1e10278196854de1cf895cfc /src/yuzu/configuration/configure_hotkeys.h
parente84f82a028228002b8ac74ac4d351aa40108c653 (diff)
Add Restore Defaults and Clear options to hotkeys
Diffstat (limited to 'src/yuzu/configuration/configure_hotkeys.h')
-rw-r--r--src/yuzu/configuration/configure_hotkeys.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_hotkeys.h b/src/yuzu/configuration/configure_hotkeys.h
index 8f8c6173b..a2ec3323e 100644
--- a/src/yuzu/configuration/configure_hotkeys.h
+++ b/src/yuzu/configuration/configure_hotkeys.h
@@ -35,7 +35,11 @@ private:
void RetranslateUI();
void Configure(QModelIndex index);
- bool IsUsedKey(QKeySequence key_sequence) const;
+ std::pair<bool, QString> IsUsedKey(QKeySequence key_sequence) const;
+
+ void RestoreDefaults();
+ void ClearAll();
+ void PopupContextMenu(const QPoint& menu_location);
std::unique_ptr<Ui::ConfigureHotkeys> ui;