summaryrefslogtreecommitdiffhomepage
path: root/options/globals.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-07-05 10:20:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-07-05 10:24:19 +0200
commit6e86249bd8cc6d707756ef79ac9d02c429a2db06 (patch)
tree04e73d5c9506747dee6156abddf83c245d9a35a6 /options/globals.hpp
parentefe55a71f80c9abdf9087620b6d195b85870e92c (diff)
options: fix global ini not saving on Linux
Diffstat (limited to 'options/globals.hpp')
-rw-r--r--options/globals.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/options/globals.hpp b/options/globals.hpp
index 9eb5777f..7af6533d 100644
--- a/options/globals.hpp
+++ b/options/globals.hpp
@@ -45,12 +45,13 @@ auto with_settings_object_(ini_ctx& ini, F&& fun)
OTR_OPTIONS_EXPORT ini_ctx& cur_settings();
OTR_OPTIONS_EXPORT ini_ctx& global_settings();
+OTR_OPTIONS_EXPORT void mark_ini_modified(bool value = true);
+
} // ns options::globals::detail
namespace options::globals
{
- OTR_OPTIONS_EXPORT void mark_ini_modified(bool value = true);
- OTR_OPTIONS_EXPORT bool is_ini_modified();
+ OTR_OPTIONS_EXPORT void mark_global_ini_modified(bool value = true);
OTR_OPTIONS_EXPORT QString ini_directory();
OTR_OPTIONS_EXPORT QString ini_filename();
OTR_OPTIONS_EXPORT QString ini_pathname();