forked from qt-creator/qt-creator
Braces cleanup
Change-Id: I8413252c90a1487d291f15d92837c30ab697b245 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -163,11 +163,10 @@ QWidget *DiffShowEditor::toolBar()
|
||||
|
||||
void DiffShowEditor::setDescriptionVisible(bool visible)
|
||||
{
|
||||
if (visible) {
|
||||
if (visible)
|
||||
m_toggleDescriptionButton->setToolTip(tr("Hide Change Description"));
|
||||
} else {
|
||||
else
|
||||
m_toggleDescriptionButton->setToolTip(tr("Show Change Description"));
|
||||
}
|
||||
m_diffShowWidget->setVisible(visible);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user