summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefUnit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/settings/qPrefUnit.cpp')
-rw-r--r--core/settings/qPrefUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/settings/qPrefUnit.cpp b/core/settings/qPrefUnit.cpp
index b0b45a881..a762940da 100644
--- a/core/settings/qPrefUnit.cpp
+++ b/core/settings/qPrefUnit.cpp
@@ -63,7 +63,7 @@ void qPrefUnits::set_unit_system(const QString& value)
prefs.unit_system = PERSONALIZE;
}
disk_unit_system(true);
- emit unit_system_changed(value);
+ emit instance()->unit_system_changed(value);
}
}
DISK_LOADSYNC_ENUM(Units, "/unit_system", unit_system_values, unit_system);