From 2feedf46fa86c19095a9f302d1d7a44d3416384d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 15 May 2019 07:42:14 -0700 Subject: Cleanup: small coding style fixes And addressing a cut and paste error in a comment. Signed-off-by: Dirk Hohndel --- desktop-widgets/tab-widgets/TabDiveInformation.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'desktop-widgets/tab-widgets') diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.cpp b/desktop-widgets/tab-widgets/TabDiveInformation.cpp index 4511f9b61..d55cb48b6 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.cpp +++ b/desktop-widgets/tab-widgets/TabDiveInformation.cpp @@ -86,8 +86,7 @@ void TabDiveInformation::updateProfile() if (current_dive->surface_pressure.mbar == 0) { ui->atmPressVal->clear(); // If no atm pressure for dive then clear text box - } - else { + } else { ui->atmPressVal->setEnabled(true); QString pressStr; -- cgit v1.2.3-70-g09d2