summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mainwindow.cpp6
-rw-r--r--mainwindow.h1
-rw-r--r--mainwindow.ui31
3 files changed, 4 insertions, 34 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()) {
diff --git a/mainwindow.h b/mainwindow.h
index fd535115..e0454e61 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -89,7 +89,6 @@ private:
QString lastDecrypt;
bool wrapperRunning;
QStringList env;
- QStringList profiles;
QQueue<execQueueItem> *execQueue;
void updateText();
void executePass(QString, QString = QString());
diff --git a/mainwindow.ui b/mainwindow.ui
index d5db8a2e..233643ee 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>621</width>
- <height>336</height>
+ <width>631</width>
+ <height>363</height>
</rect>
</property>
<property name="windowTitle">
@@ -23,12 +23,6 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="lineWidth">
- <number>0</number>
- </property>
- <property name="midLineWidth">
- <number>0</number>
- </property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>0</number>
@@ -98,28 +92,12 @@
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>37</width>
- <height>17</height>
+ <width>40</width>
+ <height>20</height>
</size>
</property>
</spacer>
</item>
- <item>
- <widget class="QComboBox" name="profileBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>100</width>
- <height>10</height>
- </size>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
@@ -185,7 +163,6 @@ p, li { white-space: pre-wrap; }
<tabstop>updateButton</tabstop>
<tabstop>usersButton</tabstop>
<tabstop>configButton</tabstop>
- <tabstop>profileBox</tabstop>
<tabstop>textBrowser</tabstop>
</tabstops>
<resources/>