diff options
author | hjk <[email protected]> | 2012-01-24 18:57:39 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2012-01-24 19:20:13 +0100 |
commit | b0b105d5758e85d08057edc2e914a7f2060bfe3f (patch) | |
tree | 1206d80383fd6e4b53673f901dec224c38a824f5 /src/plugins/debugger/debuggerplugin.cpp | |
parent | ecd9f3c4395b099c3d38c4762427fbd822888e9c (diff) |
ProjectExplorer: make currentProject static
This saves one function call compared to the instance()->currentProject()
pattern and is typically less to type on the caller site.
Change-Id: I65568f30205fc90e2aaca7e8e7f0192241df8c85
Reviewed-by: Daniel Teske <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index b58a2ac49d4..f95f953bbdc 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -499,7 +499,7 @@ public: bool DummyEngine::hasCapability(unsigned cap) const { // This can only be a first approximation of what to expect when running. - Project *project = ProjectExplorerPlugin::instance()->currentProject(); + Project *project = ProjectExplorerPlugin::currentProject(); if (!project) return 0; Target *target = project->activeTarget(); |