summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/memoryagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/memoryagent.cpp')
-rw-r--r--src/plugins/debugger/memoryagent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/memoryagent.cpp b/src/plugins/debugger/memoryagent.cpp
index 84f952d3ae..ce2eaedc3c 100644
--- a/src/plugins/debugger/memoryagent.cpp
+++ b/src/plugins/debugger/memoryagent.cpp
@@ -110,7 +110,7 @@ void MemoryAgent::closeEditors()
foreach (QPointer<IEditor> editor, m_editors)
if (editor)
editors.append(editor.data());
- EditorManager::instance()->closeEditors(editors);
+ EditorManager::closeEditors(editors);
m_editors.clear();
}
@@ -254,7 +254,7 @@ void MemoryAgent::updateContents()
bool MemoryAgent::hasVisibleEditor() const
{
- QList<IEditor *> visible = EditorManager::instance()->visibleEditors();
+ QList<IEditor *> visible = EditorManager::visibleEditors();
foreach (QPointer<IEditor> editor, m_editors)
if (visible.contains(editor.data()))
return true;