summaryrefslogtreecommitdiff
path: root/src/plugins/cppeditor/cpphoverhandler.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-12-07 10:54:27 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-12-07 10:54:27 +0100
commit14376c3c32d2eba270752ada6f6e6c5825e6dfe1 (patch)
tree1a55aab4f52866faa79e2e2fff46e716a3681299 /src/plugins/cppeditor/cpphoverhandler.cpp
parent5628f945fb4d9d7f6f17abe6ffe4910e9cc9f8db (diff)
downloadqt-creator-14376c3c32d2eba270752ada6f6e6c5825e6dfe1.tar.gz
Initial work on the new CPlusPlus::Snapshot.
Encapsulate the details.
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
-rw-r--r--src/plugins/cppeditor/cpphoverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp
index 3db38f6f71..71f5442a5b 100644
--- a/src/plugins/cppeditor/cpphoverhandler.cpp
+++ b/src/plugins/cppeditor/cpphoverhandler.cpp
@@ -268,7 +268,7 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in
const Snapshot documents = m_modelManager->snapshot();
const QString fileName = editor->file()->fileName();
- Document::Ptr doc = documents.value(fileName);
+ Document::Ptr doc = documents.document(fileName);
if (!doc)
return; // nothing to do