summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/clientConfigDialog.cpp16
-rw-r--r--src/gui/ui/clientConfigDialog.ui30
2 files changed, 3 insertions, 43 deletions
diff --git a/src/gui/clientConfigDialog.cpp b/src/gui/clientConfigDialog.cpp
index b7ba407..0ddada0 100644
--- a/src/gui/clientConfigDialog.cpp
+++ b/src/gui/clientConfigDialog.cpp
@@ -96,16 +96,6 @@ void ClientConfigDialog::readSettings()
else
radioButtonOtherNO->setChecked(true);
}
-
- reply = _ifaceDBus->getConfigValue("Permissions/allow_chat");
- reply.waitForFinished();
- if (reply.isValid())
- checkBoxAllowChat->setChecked(reply.value() == "T");
-
- reply = _ifaceDBus->getConfigValue("Permissions/allow_filetransfer");
- reply.waitForFinished();
- if (reply.isValid())
- checkBoxAllowFiletransfer->setChecked(reply.value() == "T");
}
void ClientConfigDialog::writeSettings()
@@ -125,12 +115,6 @@ void ClientConfigDialog::writeSettings()
else
_ifaceDBus->setConfigValue("Permissions/vnc_other", "no");
- _ifaceDBus->setConfigValue("Permissions/allow_chat",
- QString(checkBoxAllowChat->isChecked() ? "T" : "F"));
- _ifaceDBus->setConfigValue("Permissions/allow_filetransfer",
- QString(checkBoxAllowFiletransfer->isChecked() ? "T" : "F"));
- _ifaceDBus->setConfigValue("multicast/interface", interfaceList->currentText());
-
_settings.sync();
emit configChanged();
}
diff --git a/src/gui/ui/clientConfigDialog.ui b/src/gui/ui/clientConfigDialog.ui
index bb4bdc9..aa73433 100644
--- a/src/gui/ui/clientConfigDialog.ui
+++ b/src/gui/ui/clientConfigDialog.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>445</width>
- <height>266</height>
+ <width>366</width>
+ <height>195</height>
</rect>
</property>
<property name="windowTitle">
@@ -27,7 +27,7 @@
<enum>QTabWidget::North</enum>
</property>
<property name="currentIndex">
- <number>2</number>
+ <number>0</number>
</property>
<widget class="QWidget" name="tabPermissions">
<attribute name="title">
@@ -130,30 +130,6 @@
</property>
</widget>
</item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
- <widget class="QCheckBox" name="checkBoxAllowChat">
- <property name="text">
- <string>Accept chat messages</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="checkBoxAllowFiletransfer">
- <property name="text">
- <string>Accept file transfers</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
</layout>
</widget>
<widget class="QWidget" name="tabDisplay">