aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/extensionsystem
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-10-24 14:30:59 +0200
committerEike Ziller <eike.ziller@qt.io>2017-10-24 14:36:16 +0000
commit125604c80c9ca405be057fda68031740d38c7303 (patch)
treec94cf52403417cc4c73dfd662ffefd7266f5854a /src/libs/extensionsystem
parent4d0bf8a0936ba3125e608476414871bc14f2eff7 (diff)
ExtensionSystem: Work around linguist issue
lupdate has issues with resolving non-trivial uses of "using namespace" (QTBUG-64007) Change-Id: I1edbd74ecc97476b961fd3c741f1a3d3f22a2bf7 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/libs/extensionsystem')
-rw-r--r--src/libs/extensionsystem/pluginmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/extensionsystem/pluginmanager.cpp b/src/libs/extensionsystem/pluginmanager.cpp
index 92c02d85f18..0bbd5e780bc 100644
--- a/src/libs/extensionsystem/pluginmanager.cpp
+++ b/src/libs/extensionsystem/pluginmanager.cpp
@@ -274,10 +274,11 @@ enum { debugLeaks = 0 };
using namespace Utils;
-using namespace ExtensionSystem::Internal;
namespace ExtensionSystem {
+using namespace Internal;
+
static Internal::PluginManagerPrivate *d = 0;
static PluginManager *m_instance = 0;