Improve editor's tooltip. Wrapping hack should no longer be necessary.

Also some less significant improvements.
This commit is contained in:
Leandro Melo
2010-09-01 12:08:38 +02:00
parent b935bca420
commit ba876ffd48
14 changed files with 155 additions and 126 deletions

View File

@@ -81,9 +81,9 @@ QString HelpItem::extractContent(bool extended) const
{
Utils::HtmlDocExtractor htmlExtractor;
if (extended)
htmlExtractor.extractExtendedContents(1500, true);
htmlExtractor.setMode(Utils::HtmlDocExtractor::Extended);
else
htmlExtractor.extractFirstParagraphOnly();
htmlExtractor.setMode(Utils::HtmlDocExtractor::FirstParagraph);
QString contents;
QMap<QString, QUrl> helpLinks = Core::HelpManager::instance()->linksForIdentifier(m_helpId);