author | harlekin <harlekin> | 2002-07-21 21:59:53 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-21 21:59:53 (UTC) |
commit | 5eca9401acbc4e683f1a78126272c5bd0c23c796 (patch) (side-by-side diff) | |
tree | 8211d3f33ebade18539659f36188dcda37f59553 /noncore/net/opietooth | |
parent | 536f6562d6f12210527814afbcd05a02d05afe83 (diff) | |
download | opie-5eca9401acbc4e683f1a78126272c5bd0c23c796.zip opie-5eca9401acbc4e683f1a78126272c5bd0c23c796.tar.gz opie-5eca9401acbc4e683f1a78126272c5bd0c23c796.tar.bz2 |
paperbag
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 5 |
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 @@ -342,14 +342,12 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin */ 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 { @@ -357,14 +355,13 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin } 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 ) { |