summaryrefslogtreecommitdiff
authorharlekin <harlekin>2002-07-21 21:59:53 (UTC)
committer harlekin <harlekin>2002-07-21 21:59:53 (UTC)
commit5eca9401acbc4e683f1a78126272c5bd0c23c796 (patch) (side-by-side diff)
tree8211d3f33ebade18539659f36188dcda37f59553
parent536f6562d6f12210527814afbcd05a02d05afe83 (diff)
downloadopie-5eca9401acbc4e683f1a78126272c5bd0c23c796.zip
opie-5eca9401acbc4e683f1a78126272c5bd0c23c796.tar.gz
opie-5eca9401acbc4e683f1a78126272c5bd0c23c796.tar.bz2
paperbag
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index 1fd0ea2..6c17974 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -340,33 +340,30 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin
* the PopupMenu to delete itself
*
*/
else if ( ((BTListItem*)item)->type() == "service") {
BTServiceItem* service = (BTServiceItem*)item;
QMap<int, QString> list = service->services().classIdList();
QMap<int, QString>::Iterator it = list.begin();
QPopupMenu *popup =0l;
- popup->insertItem( (service->services()).serviceName() );
- popup->insertSeparator();
if ( it != list.end() ) {
qWarning("Searching id %d %s", it.key(), it.data().latin1() );
popup = m_popHelper.find( it.key() /*1*/,
service->services(),
(BTDeviceItem*)service->parent() );
}else {
qWarning("Empty");
}
if ( popup == 0l ) {
qWarning("factory returned 0l");
popup = new QPopupMenu();
}
-
- int test1 = popup->insertItem( tr("Test1:"), 0);
+ int test1 = popup->insertItem( tr("Test1:"), 2);
ret = popup->exec( point );
qWarning("returned from exec() ");
if ( ret == -1 ) {
;
} else if ( ret == test1 ) {
;
}