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>
This commit is contained in:
Dirk Hohndel 2018-07-25 10:49:48 -07:00 committed by Lubomir I. Ivanov
parent 68b5fe9ccb
commit 128fc5f4b8
9 changed files with 181 additions and 181 deletions

View file

@ -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);