forked from qt-creator/qt-creator
Fix coding style for else statements
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c67f7f6349
commit
ad9e7ccab6
@@ -379,17 +379,10 @@ void HoverHandler::operateTooltip(TextEditor::ITextEditor *editor, const QPoint
|
||||
{
|
||||
if (toolTip().isEmpty())
|
||||
Utils::ToolTip::instance()->hide();
|
||||
else {
|
||||
if (m_colorTip.isValid()) {
|
||||
Utils::ToolTip::instance()->show(point,
|
||||
Utils::ColorContent(m_colorTip),
|
||||
editor->widget());
|
||||
} else {
|
||||
Utils::ToolTip::instance()->show(point,
|
||||
Utils::TextContent(toolTip()),
|
||||
editor->widget());
|
||||
}
|
||||
}
|
||||
else if (m_colorTip.isValid())
|
||||
Utils::ToolTip::instance()->show(point, Utils::ColorContent(m_colorTip), editor->widget());
|
||||
else
|
||||
Utils::ToolTip::instance()->show(point, Utils::TextContent(toolTip()), editor->widget());
|
||||
}
|
||||
|
||||
void HoverHandler::prettyPrintTooltip(const QmlJS::Value *value,
|
||||
|
||||
Reference in New Issue
Block a user