From 54f8217eec0df1876086849c8dcc594da709201a Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 23 Nov 2019 17:59:49 +0100 Subject: [PATCH] core/settings: make qPrefGeocoding functions static Signed-off-by: Jan Iversen --- core/settings/qPrefGeocoding.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/settings/qPrefGeocoding.h b/core/settings/qPrefGeocoding.h index 9af704e47..a47b534bc 100644 --- a/core/settings/qPrefGeocoding.h +++ b/core/settings/qPrefGeocoding.h @@ -22,9 +22,9 @@ public: static void sync() { loadSync(true); } public: - taxonomy_category first_taxonomy_category() { return prefs.geocoding.category[0]; } - taxonomy_category second_taxonomy_category() { return prefs.geocoding.category[1]; } - taxonomy_category third_taxonomy_category() { return prefs.geocoding.category[2]; } + static taxonomy_category first_taxonomy_category() { return prefs.geocoding.category[0]; } + static taxonomy_category second_taxonomy_category() { return prefs.geocoding.category[1]; } + static taxonomy_category third_taxonomy_category() { return prefs.geocoding.category[2]; } public slots: static void set_first_taxonomy_category(taxonomy_category value);