From af2dcca279e6fc23c9b1694170cbdfe36b32eb79 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 9 Jan 2018 15:05:35 +0100 Subject: logic, cv: fix header namespace pollution We've had "using namespace options;" in headers for a while now. --- logic/shortcuts.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'logic/shortcuts.h') 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 #include +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; -- cgit v1.2.3