summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/panpopup.cpp
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/panpopup.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/panpopup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/opietooth/manager/panpopup.cpp b/noncore/net/opietooth/manager/panpopup.cpp
index 61e632b..7a0ee55 100644
--- a/noncore/net/opietooth/manager/panpopup.cpp
+++ b/noncore/net/opietooth/manager/panpopup.cpp
@@ -34,24 +34,25 @@ PanPopup::PanPopup( OpieTooth::BTDeviceItem* item ) : QPopupMenu() {
34 c = new QAction(); 34 c = new QAction();
35 c->setText( tr( "disconnect" ) ); 35 c->setText( tr( "disconnect" ) );
36 c->addTo( this ); 36 c->addTo( this );
37 connect( c, SIGNAL( activated() ), this, SLOT( slotDisconnect() ) ); 37 connect( c, SIGNAL( activated() ), this, SLOT( slotDisconnect() ) );
38 38
39}; 39};
40 40
41PanPopup::~PanPopup() { 41PanPopup::~PanPopup() {
42 42
43} 43}
44 44
45void PanPopup::slotConnect() { 45void PanPopup::slotConnect() {
46
46 m_panconnection = new StartPanConnection( m_item->mac() ); 47 m_panconnection = new StartPanConnection( m_item->mac() );
47 m_panconnection->start(); 48 m_panconnection->start();
48} 49}
49 50
50void PanPopup::slotDisconnect() { 51void PanPopup::slotDisconnect() {
51 m_panconnection->stop(); 52 m_panconnection->stop();
52} 53}
53 54
54 55
55void PanPopup::slotConnectAndConfig() { 56void PanPopup::slotConnectAndConfig() {
56 slotConnect(); 57 slotConnect();
57 58