diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-05-18 09:46:36 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-05-18 09:46:36 +0200 |
commit | aee734f98cba7b81613d1c2022fabb57899f9aa6 (patch) | |
tree | 5b66898d0e99ba2963674c0d65361e2f245304a4 /mainwindow.cpp | |
parent | 0f79230a8aadbd876434ba03dff856d4a5c594e4 (diff) |
Revert "profiles groundwork"
This reverts commit 630e03ffa4fd37878ff91893d79ccfd6630e34e3.
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 6 |
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()) { |