aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-15 14:06:25 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2018-07-15 14:35:31 +0200
commit80761beb936903d7f0017c54be070b4ed2e4eaa2 (patch)
treec6be039c115e72c5cbf8da112d697c6de8f5564b /core
parent8d857a650dd2374c4407504fd84cec7c9f0c6696 (diff)
downloadsubsurface-80761beb936903d7f0017c54be070b4ed2e4eaa2.tar.gz
core: solve copy/paste error in qPref_private
DISK_LOADSYNC_INT used double correct to int DISK_LOADSYNC_INT used double correct to int Signed-off-by: Jan Iversen <jani@apache.org>Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core')
-rw-r--r--core/settings/qPref_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/qPref_private.h b/core/settings/qPref_private.h
index d5d64b58b..de06029fa 100644
--- a/core/settings/qPref_private.h
+++ b/core/settings/qPref_private.h
@@ -87,7 +87,7 @@ void qPref ## usegroup::disk_ ## field(bool doSync) \
#define DISK_LOADSYNC_INT(usegroup, name, field) \
void qPref ## usegroup::disk_ ## field(bool doSync) \
{ \
- LOADSYNC_DOUBLE(name, field); \
+ LOADSYNC_INT(name, field); \
}
#define DISK_LOADSYNC_INT_DEF(usegroup, name, field, defval) \