Diffstat (limited to 'noncore/net/opietooth/manager/rfcpopup.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/rfcpopup.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/rfcpopup.cpp b/noncore/net/opietooth/manager/rfcpopup.cpp index 7711f0a..04da19f 100644 --- a/noncore/net/opietooth/manager/rfcpopup.cpp +++ b/noncore/net/opietooth/manager/rfcpopup.cpp | |||
@@ -96,25 +96,26 @@ void RfcCommPopup::slotConnect() | |||
96 | void RfcCommPopup::slotDisconnect() | 96 | void RfcCommPopup::slotDisconnect() |
97 | { | 97 | { |
98 | owarn << "slot disconnected " << procId << oendl; | 98 | owarn << "slot disconnected " << procId << oendl; |
99 | if (procId >= 0) | 99 | if (procId >= 0) |
100 | PPPDialog::conns[procId].proc.kill(); | 100 | PPPDialog::conns[procId].proc.kill(); |
101 | } | 101 | } |
102 | 102 | ||
103 | 103 | ||
104 | void RfcCommPopup::slotBind() | 104 | void RfcCommPopup::slotBind() |
105 | { | 105 | { |
106 | RfcommAssignDialog rfcommAssign ( this, "RfcommAssignDialog", true, WStyle_ContextHelp ); | 106 | RfcommAssignDialog rfcommAssign ( this, "RfcommAssignDialog", true, WStyle_ContextHelp ); |
107 | 107 | ||
108 | rfcommAssign.newDevice( m_item->mac() ); | 108 | rfcommAssign.newDevice( m_item->mac(), |
109 | m_service.protocolDescriptorList().last().port()); | ||
109 | 110 | ||
110 | if ( QPEApplication::execDialog( &rfcommAssign ) == QDialog::Accepted ) | 111 | if ( QPEApplication::execDialog( &rfcommAssign ) == QDialog::Accepted ) |
111 | { | 112 | { |
112 | rfcommAssign.saveConfig(); | 113 | rfcommAssign.saveConfig(); |
113 | } | 114 | } |
114 | } | 115 | } |
115 | 116 | ||
116 | 117 | ||
117 | void RfcCommPopup::slotBar() | 118 | void RfcCommPopup::slotBar() |
118 | { | 119 | { |
119 | owarn << "slotBar" << oendl; | 120 | owarn << "slotBar" << oendl; |
120 | }; | 121 | }; |