From 2937ae5a8780b4d82178c3762294bb1c3eb4c95c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 10 Nov 2013 22:11:19 +0100 Subject: hopefully fix qxt/qt eating letter keys Signed-off-by: Stanislaw Halik --- facetracknoir/facetracknoir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'facetracknoir') diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp index 55a0f4cb..1227f6a0 100644 --- a/facetracknoir/facetracknoir.cpp +++ b/facetracknoir/facetracknoir.cpp @@ -758,7 +758,7 @@ void FaceTrackNoIR::bind_keyboard_shortcut(QxtGlobalShortcut& key, const QString seq = "Alt+" + seq; if (iniFile.value(QString("Ctrl_%1").arg(label), false).toBool()) seq = "Ctrl+" + seq; - key.setShortcut(QKeySequence::fromString(seq, QKeySequence::NativeText)); + key.setShortcut(QKeySequence::fromString(seq)); key.setEnabled(); } } -- cgit v1.2.3