summaryrefslogtreecommitdiffstats
path: root/libsettings/src
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-03-26 19:26:10 +0100
committerPetr Mrázek <peterix@gmail.com>2013-03-26 19:26:10 +0100
commit1f13f0c665001a1a79f00cdad1e63e6c9802e55f (patch)
tree619f5a5558caad95d3f1ff8245bbff13cd770684 /libsettings/src
parent737273348faa598af906bef2d96e6520a85cbc88 (diff)
downloadMultiMC-1f13f0c665001a1a79f00cdad1e63e6c9802e55f.tar
MultiMC-1f13f0c665001a1a79f00cdad1e63e6c9802e55f.tar.gz
MultiMC-1f13f0c665001a1a79f00cdad1e63e6c9802e55f.tar.lz
MultiMC-1f13f0c665001a1a79f00cdad1e63e6c9802e55f.tar.xz
MultiMC-1f13f0c665001a1a79f00cdad1e63e6c9802e55f.zip
Store stub keyring data in the same folder as the binary
Diffstat (limited to 'libsettings/src')
-rw-r--r--libsettings/src/stubkeyring.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libsettings/src/stubkeyring.cpp b/libsettings/src/stubkeyring.cpp
index cb03bf79..cf814d2f 100644
--- a/libsettings/src/stubkeyring.cpp
+++ b/libsettings/src/stubkeyring.cpp
@@ -96,7 +96,9 @@ void StubKeyring::removeStoredAccount ( QString service, QString username )
m_settings.remove(key);
}
+//FIXME: this needs tweaking/changes for user account level storage
StubKeyring::StubKeyring() :
- m_settings(QSettings::UserScope, "Orochimarufan", "Keyring")
+// m_settings(QSettings::UserScope, "Orochimarufan", "Keyring")
+ m_settings("keyring.cfg", QSettings::IniFormat)
{
}