diff options
Diffstat (limited to 'src/citra_qt/hotkeys.h')
| -rw-r--r-- | src/citra_qt/hotkeys.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/citra_qt/hotkeys.h b/src/citra_qt/hotkeys.h index 2fe635882..38aa5f012 100644 --- a/src/citra_qt/hotkeys.h +++ b/src/citra_qt/hotkeys.h | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #pragma once | ||
| 6 | |||
| 5 | #include "ui_hotkeys.h" | 7 | #include "ui_hotkeys.h" |
| 6 | 8 | ||
| 7 | class QDialog; | 9 | class QDialog; |
| @@ -33,16 +35,16 @@ QShortcut* GetHotkey(const QString& group, const QString& action, QWidget* widge | |||
| 33 | * | 35 | * |
| 34 | * @note Each hotkey group will be stored a settings group; For each hotkey inside that group, a settings group will be created to store the key sequence and the hotkey context. | 36 | * @note Each hotkey group will be stored a settings group; For each hotkey inside that group, a settings group will be created to store the key sequence and the hotkey context. |
| 35 | */ | 37 | */ |
| 36 | void SaveHotkeys(QSettings& settings); | 38 | void SaveHotkeys(); |
| 37 | 39 | ||
| 38 | /** | 40 | /** |
| 39 | * Loads hotkeys from the settings file. | 41 | * Loads hotkeys from the settings file. |
| 40 | * | 42 | * |
| 41 | * @note Yet unregistered hotkeys which are present in the settings will automatically be registered. | 43 | * @note Yet unregistered hotkeys which are present in the settings will automatically be registered. |
| 42 | */ | 44 | */ |
| 43 | void LoadHotkeys(QSettings& settings); | 45 | void LoadHotkeys(); |
| 44 | 46 | ||
| 45 | class GHotkeysDialog : public QDialog | 47 | class GHotkeysDialog : public QWidget |
| 46 | { | 48 | { |
| 47 | Q_OBJECT | 49 | Q_OBJECT |
| 48 | 50 | ||