diff options
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); |