summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVishal Sharma <sharmavishal94@gmail.com>2018-02-27 10:33:03 +0530
committerbunnei <bunneidev@gmail.com>2018-02-26 21:03:02 -0800
commit65f3119074f4cb6a07af747b9c9d8445e08ccc50 (patch)
treebd5679594c88db819152568af15f0696d0d40f60 /src
parent926604fc14f102dd05db9ea05cb3b60af7164ab7 (diff)
Removes the use of QKeySequence::Cancel (#186)
* Removes the use of QKeySequence::Cancel to remove issues while running make * Corrects characters in a line for travis failure * Corrects space in a line for travis failure
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index e5252abdc..5802b9855 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -187,7 +187,8 @@ void GMainWindow::InitializeHotkeys() {
RegisterHotkey("Main Window", "Load File", QKeySequence::Open);
RegisterHotkey("Main Window", "Start Emulation");
RegisterHotkey("Main Window", "Fullscreen", QKeySequence::FullScreen);
- RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence::Cancel, Qt::ApplicationShortcut);
+ RegisterHotkey("Main Window", "Exit Fullscreen", QKeySequence(Qt::Key_Escape),
+ Qt::ApplicationShortcut);
LoadHotkeys();
connect(GetHotkey("Main Window", "Load File", this), &QShortcut::activated, this,