summaryrefslogtreecommitdiffhomepage
path: root/logic/shortcuts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-09 15:05:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 03:18:57 +0100
commitaf2dcca279e6fc23c9b1694170cbdfe36b32eb79 (patch)
treea1d5cf6e77735e40138932705a0cc7287f6c5c73 /logic/shortcuts.h
parent5ad2275e0e50be8a4e9f506fb3f8dab2b02d0420 (diff)
logic, cv: fix header namespace pollution
We've had "using namespace options;" in headers for a while now.
Diffstat (limited to 'logic/shortcuts.h')
-rw-r--r--logic/shortcuts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/logic/shortcuts.h b/logic/shortcuts.h
index 6f69aba9..457c0d8e 100644
--- a/logic/shortcuts.h
+++ b/logic/shortcuts.h
@@ -25,6 +25,8 @@
#include <vector>
#include <functional>
+namespace shortcuts_impl {
+
using namespace options;
class OTR_LOGIC_EXPORT Shortcuts final : public QObject
@@ -61,3 +63,7 @@ private:
void free_binding(K& key);
void bind_shortcut(K &key, const key_opts& k, bool held);
};
+
+} // ns shortcuts_impl
+
+using shortcuts_impl::Shortcuts;