summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/shortcuts.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/logic/shortcuts.cpp b/logic/shortcuts.cpp
index be9ae87b..5ddefc1f 100644
--- a/logic/shortcuts.cpp
+++ b/logic/shortcuts.cpp
@@ -8,7 +8,6 @@
#include "shortcuts.h"
#include "win32-shortcuts.h"
-#include "compat/string-literal-operator.hpp"
#include <QString>
@@ -73,7 +72,7 @@ void Shortcuts::bind_shortcut(K &key, const key_opts& k, bool held)
if (code != Qt::Key_unknown)
win_key::from_qt(code, idx, mods);
- key.guid = ""_qstr;
+ key.guid = "";
key.keycode = idx;
key.held = held;
key.ctrl = !!(mods & Qt::ControlModifier);