summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/hotkeys.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-11 02:21:34 +0200
committerbunnei <bunneidev@gmail.com>2016-04-11 02:21:34 +0200
commita1b81469a3a72f0a6550075e2a693e31dab31ea9 (patch)
tree196b2ae1191198f1c47af2c33a145931c853c915 /src/citra_qt/hotkeys.h
parentMerge pull request #1653 from mailwl/blx-lr (diff)
parentAdd more stuff to configure. (diff)
downloadyuzu-a1b81469a3a72f0a6550075e2a693e31dab31ea9.tar
yuzu-a1b81469a3a72f0a6550075e2a693e31dab31ea9.tar.gz
yuzu-a1b81469a3a72f0a6550075e2a693e31dab31ea9.tar.bz2
yuzu-a1b81469a3a72f0a6550075e2a693e31dab31ea9.tar.lz
yuzu-a1b81469a3a72f0a6550075e2a693e31dab31ea9.tar.xz
yuzu-a1b81469a3a72f0a6550075e2a693e31dab31ea9.tar.zst
yuzu-a1b81469a3a72f0a6550075e2a693e31dab31ea9.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/hotkeys.h8
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 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include "ui_hotkeys.h"
class QDialog;
@@ -33,16 +35,16 @@ QShortcut* GetHotkey(const QString& group, const QString& action, QWidget* widge
*
* @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.
*/
-void SaveHotkeys(QSettings& settings);
+void SaveHotkeys();
/**
* Loads hotkeys from the settings file.
*
* @note Yet unregistered hotkeys which are present in the settings will automatically be registered.
*/
-void LoadHotkeys(QSettings& settings);
+void LoadHotkeys();
-class GHotkeysDialog : public QDialog
+class GHotkeysDialog : public QWidget
{
Q_OBJECT