From 211bed049d7073ea95789eeedc483541f8a85b2c Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Mon, 12 Sep 2016 13:09:15 +0200 Subject: removed USER_SETTINGS etc. (this also changes filename of the crt ans rsa files, but this shouldn't be a problem. (formerly the name of those files depended on the name and location of the ini-files) --- src/server/util/util.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/server/util') diff --git a/src/server/util/util.h b/src/server/util/util.h index 98a56b6..dfb70b4 100644 --- a/src/server/util/util.h +++ b/src/server/util/util.h @@ -4,13 +4,11 @@ // Helper for getting a settings object in various places, so if you ever change the organization, location, // file format or anything, you won't have to edit in 100 places. // Use like this: -// USER_SETTINGS(settings) // settings.value("somekey") -#define USER_SETTINGS(name) \ - QSettings name (QSettings::IniFormat, QSettings::UserScope, "openslx/pvs2", "pvs2"); \ - name.setIniCodec("UTF-8"); -#define SYSTEM_SETTINGS(name) \ +#define CERTSTORAGE ".config/openslx/pvs2/" + +#define SETTINGS(name) \ QSettings name (QSettings::IniFormat, QSettings::SystemScope, "openslx/pvs2", "pvs2"); \ name.setIniCodec("UTF-8"); -- cgit v1.2.3-55-g7522