mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
68b5fe9ccb
commit
128fc5f4b8
9 changed files with 181 additions and 181 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue