summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/lib/manager.cc7
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp2
-rw-r--r--noncore/net/opietooth/manager/btconnectionitem.cpp1
3 files changed, 6 insertions, 4 deletions
diff --git a/noncore/net/opietooth/lib/manager.cc b/noncore/net/opietooth/lib/manager.cc
index 1281116..59ade6d 100644
--- a/noncore/net/opietooth/lib/manager.cc
+++ b/noncore/net/opietooth/lib/manager.cc
@@ -261,4 +261,4 @@ void Manager::searchConnections() {
}
-void Manager::slotConnectionExited( OProcess* /*proc*/ ) {
- qWarning("exited");
+void Manager::slotConnectionExited( OProcess* proc ) {
+ qWarning("<<<<<<<<<<<<<<<<<exited");
ConnectionState::ValueList list;
@@ -266,2 +266,3 @@ void Manager::slotConnectionExited( OProcess* /*proc*/ ) {
emit connections(list );
+ delete proc;
}
@@ -270,3 +271,3 @@ void Manager::slotConnectionOutput(OProcess* proc, char* cha, int len) {
m_hcitoolCon.append( str );
- delete proc;
+ //delete proc;
}
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index d3abb54..5c5f069 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -420,3 +420,3 @@ void BlueBase::addServicesToDevice( const QString& device, Services::ValueList s
void BlueBase::addConnectedDevices() {
- m_localDevice->searchConnections();
+ m_localDevice->searchConnections();
}
diff --git a/noncore/net/opietooth/manager/btconnectionitem.cpp b/noncore/net/opietooth/manager/btconnectionitem.cpp
index 6fb9c11..b57d1b3 100644
--- a/noncore/net/opietooth/manager/btconnectionitem.cpp
+++ b/noncore/net/opietooth/manager/btconnectionitem.cpp
@@ -9,2 +9,3 @@ BTConnectionItem::BTConnectionItem( QListView* parent, const ConnectionState& co
setText(0, m_con.mac() );
+ setText(1, m_con.connectionMode() );
}