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
@@ -162,9 +162,9 @@ bool ToolTip::tipChanged(const QPoint &pos, const TipContent &content, QWidget *
|
||||
|
||||
void ToolTip::setTipRect(QWidget *w, const QRect &rect)
|
||||
{
|
||||
if (!m_rect.isNull() && !w)
|
||||
if (!m_rect.isNull() && !w) {
|
||||
qWarning("ToolTip::show: Cannot pass null widget if rect is set");
|
||||
else{
|
||||
} else {
|
||||
m_widget = w;
|
||||
m_rect = rect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user