summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefDisplay.cpp')
-rw-r--r--core/settings/qPrefDisplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/qPrefDisplay.cpp b/core/settings/qPrefDisplay.cpp
index 55a0129a9..e11930b5e 100644
--- a/core/settings/qPrefDisplay.cpp
+++ b/core/settings/qPrefDisplay.cpp
@@ -35,7 +35,7 @@ void qPrefDisplay::set_divelist_font(const QString& value)
if (newValue != prefs.divelist_font &&
!subsurface_ignore_font(qPrintable(newValue))) {
- COPY_TXT(divelist_font, value);
+ qPrefPrivate::copy_txt(&prefs.divelist_font, value);
disk_divelist_font(true);
qApp->setFont(QFont(newValue));