summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-20 20:34:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-20 20:34:29 +0200
commitadfe6cfe1e1fb3d580248788d8f1b239ddd41f7f (patch)
treeb344599c52fe8bbfd8504cf517fcc88136889094 /facetracknoir/facetracknoir.h
parent5186144127a0ec24f50d5c73a9515906787b2568 (diff)
add kbd shortcut for quitting the software
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'facetracknoir/facetracknoir.h')
-rw-r--r--facetracknoir/facetracknoir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h
index c5b2dc01..491274c8 100644
--- a/facetracknoir/facetracknoir.h
+++ b/facetracknoir/facetracknoir.h
@@ -38,6 +38,7 @@
#include <QtGui>
#include <QString>
#include <QByteArray>
+#include <QShortcut>
#if !defined(_WIN32)
# include "qxt-mini/QxtGlobalShortcut"
#else
@@ -123,6 +124,7 @@ private:
QList<DynamicLibrary*> dlopen_filters;
QList<DynamicLibrary*> dlopen_trackers;
QList<DynamicLibrary*> dlopen_protocols;
+ QShortcut kbd_quit;
#ifndef _WIN32
void bind_keyboard_shortcut(QxtGlobalShortcut& key, const QString label, QSettings& iniFile);