Remove option to extend tooltips.

This commit is contained in:
Leandro Melo
2010-08-31 13:40:13 +02:00
parent ba12a3390e
commit 67d0ab3fac
7 changed files with 4 additions and 29 deletions

View File

@@ -152,7 +152,7 @@ void BaseHoverHandler::decorateToolTip(ITextEditor *editor)
return;
if (lastHelpItemIdentified().isValid()) {
const QString &contents = lastHelpItemIdentified().extractContent(extendToolTips(editor));
const QString &contents = lastHelpItemIdentified().extractContent(false);
if (!contents.isEmpty()) {
appendToolTip(contents);
} else {
@@ -179,11 +179,3 @@ BaseTextEditor *BaseHoverHandler::baseTextEditor(ITextEditor *editor)
return 0;
return qobject_cast<BaseTextEditor *>(editor->widget());
}
bool BaseHoverHandler::extendToolTips(ITextEditor *editor)
{
BaseTextEditor *baseEditor = baseTextEditor(editor);
if (baseEditor && baseEditor->displaySettings().m_extendTooltips)
return true;
return false;
}