forked from qt-creator/qt-creator
Help: Lookup in index if ID is not found
And if multiple topics are found in the index, show the topic chooser dialog that we already have for the help index. Fixes: QTCREATORBUG-12704 Task-number: QTCREATORBUG-15959 Change-Id: I7afa6f44bbecc12f602aaaa4a11209ec72399689 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -91,6 +91,11 @@ QMap<QString, QUrl> linksForIdentifier(const QString &id)
|
||||
return checkInstance() ? m_instance->linksForIdentifier(id) : QMap<QString, QUrl>();
|
||||
}
|
||||
|
||||
QMap<QString, QUrl> linksForKeyword(const QString &keyword)
|
||||
{
|
||||
return checkInstance() ? m_instance->linksForKeyword(keyword) : QMap<QString, QUrl>();
|
||||
}
|
||||
|
||||
QByteArray fileData(const QUrl &url)
|
||||
{
|
||||
return checkInstance() ? m_instance->fileData(url) : QByteArray();
|
||||
|
||||
Reference in New Issue
Block a user