summaryrefslogtreecommitdiff
path: root/noncore/net
authorharlekin <harlekin>2002-06-01 23:40:58 (UTC)
committer harlekin <harlekin>2002-06-01 23:40:58 (UTC)
commita885fb38c87f97fd44e307397daf39bed3a2b9f1 (patch) (unidiff)
tree8de4888e3bd81eb95ca869afe23d0e27cea065d4 /noncore/net
parent7b145de0bf5dfe015e3c53fb4058315857e725a3 (diff)
downloadopie-a885fb38c87f97fd44e307397daf39bed3a2b9f1.zip
opie-a885fb38c87f97fd44e307397daf39bed3a2b9f1.tar.gz
opie-a885fb38c87f97fd44e307397daf39bed3a2b9f1.tar.bz2
update
Diffstat (limited to 'noncore/net') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/applet/bluezapplet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opietooth/applet/bluezapplet.cpp b/noncore/net/opietooth/applet/bluezapplet.cpp
index 9569b36..b662ff7 100644
--- a/noncore/net/opietooth/applet/bluezapplet.cpp
+++ b/noncore/net/opietooth/applet/bluezapplet.cpp
@@ -112,25 +112,25 @@ namespace OpieTooth {
112 menu->insertSeparator(6); 112 menu->insertSeparator(6);
113 menu->insertItem( tr("Signal strength"), signal, 5); 113 menu->insertItem( tr("Signal strength"), signal, 5);
114 menu->insertSeparator(8); 114 menu->insertSeparator(8);
115 115
116 if (bluezDiscoveryActive) { 116 if (bluezDiscoveryActive) {
117 menu->insertItem( tr("Disable discovery"), 3 ); 117 menu->insertItem( tr("Disable discovery"), 3 );
118 } else { 118 } else {
119 menu->insertItem( tr("Enable discovery"), 4 ); 119 menu->insertItem( tr("Enable discovery"), 4 );
120 } 120 }
121 //menu->insertItem( tr("More..."), 7 ) 121 //menu->insertItem( tr("More..."), 7 )
122 122
123 QPoint p = mapToGlobal( QPoint(1, -menu->sizeHint().height()-1) ); 123 QPoint p = mapToGlobal( QPoint(1, -menu->sizeHint().height()-1) );
124 ret = menu->exec(p, 2); 124 ret = menu->exec(p, 0);
125 125
126 // qDebug("ret was %d\n", ret); 126 // qDebug("ret was %d\n", ret);
127 127
128 switch(ret) { 128 switch(ret) {
129 case 0: 129 case 0:
130 setBluezStatus(0); 130 setBluezStatus(0);
131 timerEvent(NULL); 131 timerEvent(NULL);
132 break; 132 break;
133 case 1: 133 case 1:
134 setBluezStatus(1); 134 setBluezStatus(1);
135 timerEvent(NULL); 135 timerEvent(NULL);
136 break; 136 break;