summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditorplugins.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/profileeditorplugins.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditorplugins.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/noncore/apps/opie-console/profileeditorplugins.cpp b/noncore/apps/opie-console/profileeditorplugins.cpp
index c11c854..937516c 100644
--- a/noncore/apps/opie-console/profileeditorplugins.cpp
+++ b/noncore/apps/opie-console/profileeditorplugins.cpp
@@ -185,33 +185,36 @@ QWidget *ProfileEditorPlugin::terminal_widget()
connect(group_size, SIGNAL(clicked(int)), SLOT(slotTermFont(int)));
connect(option_echo, SIGNAL(toggled(bool)), SLOT(slotTermEcho(bool)));
connect(option_wrap, SIGNAL(toggled(bool)), SLOT(slotTermWrap(bool)));
connect(conv_inbound, SIGNAL(toggled(bool)), SLOT(slotTermInbound(bool)));
connect(conv_outbound, SIGNAL(toggled(bool)), SLOT(slotTermOutbound(bool)));
return root;
}
void ProfileEditorPlugin::slotConnFlow(int id)
{
- switch(id)
- {
- case id_flow_hw:
- m_profile->writeEntry("Flow", IOSerial::FlowHW);
- break;
- case id_flow_sw:
- m_profile->writeEntry("Flow", IOSerial::FlowSW);
- break;
- }
+ switch(id)
+ {
+ case id_flow_hw:
+ m_profile->writeEntry("Flow", IOSerial::FlowHW);
+ break;
+ case id_flow_sw:
+ m_profile->writeEntry("Flow", IOSerial::FlowSW);
+ break;
+ case id_flow_sw:
+ m_profile->writeEntry("None", IOSerial::None);
+ break;
+ }
}
void ProfileEditorPlugin::slotConnParity(int id)
{
switch(id)
{
case id_parity_odd:
m_profile->writeEntry("Parity", IOSerial::ParityEven);
break;
case id_parity_even:
m_profile->writeEntry("Parity", IOSerial::ParityOdd);
break;