diff --git a/src/file/extractor/result.h b/src/file/extractor/result.h --- a/src/file/extractor/result.h +++ b/src/file/extractor/result.h @@ -42,9 +42,7 @@ QVariantMap map() const; - Baloo::Document& document() { - return m_doc; - } + Baloo::Document& document(); /** * Applies the finishing touches on the document, and makes diff --git a/src/file/extractor/result.cpp b/src/file/extractor/result.cpp --- a/src/file/extractor/result.cpp +++ b/src/file/extractor/result.cpp @@ -144,3 +144,8 @@ { return m_map; } + +Baloo::Document& Result::document() +{ + return m_doc; +}