https://bugs.kde.org/show_bug.cgi?id=502342
--- Comment #3 from fi...@tutanota.com --- void FileSearchTab::openFile() { QModelIndex item = ui_fileSearchOptions->treeView->currentIndex(); SearchResult sr = m_model->searchResult(item); DocPosition docPos = sr.docPos.toDocPosition(); int selection = 0; if (sr.targetPositions.size()) { docPos.offset = sr.targetPositions.first().start; selection = sr.targetPositions.first().len; } qCDebug(LOKALIZE_LOG) << "fileOpenRequest" << docPos.offset << selection; Q_EMIT fileOpenRequested(sr.filepath, docPos, selection, true); } calls into this method SearchResult searchResult(const QModelIndex &item) const { return m_searchResults.at(item.row()); } and that's where the issue seems to be -- You are receiving this mail because: You are watching all bug changes.