summaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <annejan@noprotocol.com>2015-05-18 09:46:36 +0200
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-05-18 09:46:36 +0200
commitaee734f98cba7b81613d1c2022fabb57899f9aa6 (patch)
tree5b66898d0e99ba2963674c0d65361e2f245304a4 /mainwindow.cpp
parent0f79230a8aadbd876434ba03dff856d4a5c594e4 (diff)
Revert "profiles groundwork"
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 4f5421c9..b8000be5 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -164,7 +164,6 @@ void MainWindow::checkConfig() {
webDavUrl = settings.value("webDavUrl").toString();
webDavUser = settings.value("webDavUser").toString();
webDavPassword = settings.value("webDavPassword").toString();
- profiles = settings.value("profiles").toStringList();
if (passExecutable == "" && (gitExecutable == "" || gpgExecutable == "")) {
config();
@@ -196,11 +195,6 @@ void MainWindow::checkConfig() {
ui->treeView->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
ui->textBrowser->setOpenExternalLinks(true);
- if (profiles.isEmpty()) {
- ui->profileBox->setEnabled(false);
- } else {
- ui->profileBox->addItems(profiles);
- }
env = QProcess::systemEnvironment();
if (!gpgHome.isEmpty()) {