summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-28 12:33:01 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-05-28 14:38:59 -0700
commit20d1d2c385d3e1c0282b565ba26fe81113a51dee (patch)
tree7b7c12531266caf179b661276602ec5680b80fce /qt-ui
parent95664af53bc6faf352cf5b193fe9dfd42fa25e60 (diff)
downloadsubsurface-20d1d2c385d3e1c0282b565ba26fe81113a51dee.tar.gz
Remote storage: add preference for the passphrase
While we don't expose it as this to the user, we'll need an ssh key and potentially a passphrase in order to communicate with the git server in our infrastructure. This simply sets up a way to store the passphrase. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/preferences.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/preferences.cpp b/qt-ui/preferences.cpp
index aeccc961c..db454c6d8 100644
--- a/qt-ui/preferences.cpp
+++ b/qt-ui/preferences.cpp
@@ -465,6 +465,10 @@ void PreferencesDialog::loadSettings()
GET_TXT("proxy_user", proxy_user);
GET_TXT("proxy_pass", proxy_pass);
s.endGroup();
+
+ s.beginGroup("RemoteStorage");
+ GET_TXT("passphrase", passphrase);
+ s.endGroup();
}
void PreferencesDialog::buttonClicked(QAbstractButton *button)