diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-07-25 10:49:48 -0700 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-07-26 16:32:51 +0300 |
commit | 128fc5f4b81f036eeb76cda99704095673efbe8e (patch) | |
tree | 26f3b7daef8a4c8881f9129654e6136ea35bae5b /core/settings/qPrefDisplay.cpp | |
parent | 68b5fe9ccbbc7255a00d657cf29e6dc2515b8c3c (diff) | |
download | subsurface-128fc5f4b81f036eeb76cda99704095673efbe8e.tar.gz |
Whitespace cleanup core/settings
We can argue about any of the changes here, but they are the result of our
whitespace.pl script - so if any of this is offensive to you, part of the
resolution will be fixing the script...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/settings/qPrefDisplay.cpp')
-rw-r--r-- | core/settings/qPrefDisplay.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp index cf08af8cd..809a4fe77 100644 --- a/core/settings/qPrefDisplay.cpp +++ b/core/settings/qPrefDisplay.cpp @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 +#include "core/subsurface-string.h" #include "qPref.h" #include "qPrefPrivate.h" -#include "core/subsurface-string.h" #include <QApplication> #include <QFont> @@ -26,14 +26,14 @@ void qPrefDisplay::loadSync(bool doSync) disk_theme(doSync); } -void qPrefDisplay::set_divelist_font(const QString& value) +void qPrefDisplay::set_divelist_font(const QString &value) { QString newValue = value; if (value.contains(",")) newValue = value.left(value.indexOf(",")); if (newValue != prefs.divelist_font && - !subsurface_ignore_font(qPrintable(newValue))) { + !subsurface_ignore_font(qPrintable(newValue))) { qPrefPrivate::copy_txt(&prefs.divelist_font, value); disk_divelist_font(true); |