summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-31 12:40:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-31 12:40:55 +0100
commit85129ee6fcabee8821e301ae64fec81f12df788d (patch)
tree462450745f970920f7a55e09d226f97f730ce329
parentf460f501d169df9e21825ebe31c9c21fb2692dfa (diff)
fix doze
-rw-r--r--facetracknoir/facetracknoir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index b98c6085..2006f831 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -634,9 +634,9 @@ void FaceTrackNoIR::bind_keyboard_shortcut(QxtGlobalShortcut& key, key_opts& k)
}
}
#else
-static void bind_keyboard_shortcut(Key& key, const key& k)
+static void bind_keyboard_shortcut(Key& key, key_opts& k)
{
- const int idx = k.key_index;
+ int idx = k.key_index;
if (idx > 0)
{
key.keycode = 0;