summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-17 02:16:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-17 02:16:02 +0100
commitba46d4526a6cb17242bc82ddaf88fca112f28742 (patch)
treea3f61d9ce9406a4cbbe872e65104adaa260ec355 /logic
parent13d201581a10be0ca2a0523248a7348c712e0ad9 (diff)
compat: get rid of string literal operator
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);