#6730 Changed user scope settings location for backwards compatibility
Signed-off-by: Jamie Newbon <jamie@symless.com>
This commit is contained in:
parent
36984104ec
commit
76bff18857
2 changed files with 5 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ cmake_minimum_required (VERSION 3.4)
|
|||
set (SYNERGY_VERSION_MAJOR 1)
|
||||
set (SYNERGY_VERSION_MINOR 12)
|
||||
set (SYNERGY_VERSION_PATCH 0)
|
||||
set (SYNERGY_VERSION_STAGE "rc1")
|
||||
set (SYNERGY_VERSION_STAGE "snapshot")
|
||||
|
||||
#
|
||||
# Version from CI
|
||||
|
|
|
|||
|
|
@ -51,9 +51,10 @@ namespace GUI {
|
|||
QCoreApplication::organizationName(),
|
||||
QCoreApplication::applicationName());
|
||||
|
||||
m_pSettingsUser = new QSettings(QSettings::Scope::UserScope,
|
||||
QCoreApplication::organizationName(),
|
||||
QCoreApplication::applicationName());
|
||||
//defaults to user scope, if we set the scope specifically then we also have to set
|
||||
// the application name and the organisation name which breaks backwards compatibility
|
||||
// See #6730
|
||||
m_pSettingsUser = new QSettings();
|
||||
|
||||
//Set scope to user for initially
|
||||
m_pSettingsCurrent = m_pSettingsUser;
|
||||
|
|
|
|||
Loading…
Reference in a new issue