From 4442a92729f17db4f47a4458894298487952109c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Mon, 11 Nov 2013 22:20:47 +0200 Subject: Braces cleanup Change-Id: I8413252c90a1487d291f15d92837c30ab697b245 Reviewed-by: hjk --- src/plugins/diffeditor/diffshoweditor.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/plugins/diffeditor/diffshoweditor.cpp') diff --git a/src/plugins/diffeditor/diffshoweditor.cpp b/src/plugins/diffeditor/diffshoweditor.cpp index 3cc595f902..cee56cb306 100644 --- a/src/plugins/diffeditor/diffshoweditor.cpp +++ b/src/plugins/diffeditor/diffshoweditor.cpp @@ -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); } -- cgit v1.2.1