diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-05-15 07:42:14 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-15 07:42:14 -0700 |
commit | 2feedf46fa86c19095a9f302d1d7a44d3416384d (patch) | |
tree | c5555f630309bc6808acbf7b3957346e745dcb65 /desktop-widgets/tab-widgets/TabDiveInformation.cpp | |
parent | 1bdf00b2b472078a0b24f1c269782d822cb96e02 (diff) | |
download | subsurface-2feedf46fa86c19095a9f302d1d7a44d3416384d.tar.gz |
Cleanup: small coding style fixes
And addressing a cut and paste error in a comment.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveInformation.cpp')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveInformation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |