diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-07 10:54:27 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-12-07 10:54:27 +0100 |
commit | 14376c3c32d2eba270752ada6f6e6c5825e6dfe1 (patch) | |
tree | 1a55aab4f52866faa79e2e2fff46e716a3681299 /src/plugins/cppeditor/cpphoverhandler.cpp | |
parent | 5628f945fb4d9d7f6f17abe6ffe4910e9cc9f8db (diff) | |
download | qt-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.cpp | 2 |
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 |