Fix coding style for else statements

Change-Id: I1309db70e98d678e150388c76ce665e988fdf081
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Orgad Shaneh
2013-07-17 00:01:45 +03:00
committed by Orgad Shaneh
parent c67f7f6349
commit ad9e7ccab6
101 changed files with 331 additions and 470 deletions

View File

@@ -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,