author | harlekin <harlekin> | 2002-07-21 21:59:53 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-07-21 21:59:53 (UTC) |
commit | 5eca9401acbc4e683f1a78126272c5bd0c23c796 (patch) (unidiff) | |
tree | 8211d3f33ebade18539659f36188dcda37f59553 | |
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 | |||
@@ -344,10 +344,8 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
344 | BTServiceItem* service = (BTServiceItem*)item; | 344 | BTServiceItem* service = (BTServiceItem*)item; |
345 | QMap<int, QString> list = service->services().classIdList(); | 345 | QMap<int, QString> list = service->services().classIdList(); |
346 | QMap<int, QString>::Iterator it = list.begin(); | 346 | QMap<int, QString>::Iterator it = list.begin(); |
347 | QPopupMenu *popup =0l; | 347 | QPopupMenu *popup =0l; |
348 | popup->insertItem( (service->services()).serviceName() ); | ||
349 | popup->insertSeparator(); | ||
350 | if ( it != list.end() ) { | 348 | if ( it != list.end() ) { |
351 | qWarning("Searching id %d %s", it.key(), it.data().latin1() ); | 349 | qWarning("Searching id %d %s", it.key(), it.data().latin1() ); |
352 | popup = m_popHelper.find( it.key() /*1*/, | 350 | popup = m_popHelper.find( it.key() /*1*/, |
353 | service->services(), | 351 | service->services(), |
@@ -359,10 +357,9 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin | |||
359 | if ( popup == 0l ) { | 357 | if ( popup == 0l ) { |
360 | qWarning("factory returned 0l"); | 358 | qWarning("factory returned 0l"); |
361 | popup = new QPopupMenu(); | 359 | popup = new QPopupMenu(); |
362 | } | 360 | } |
363 | 361 | int test1 = popup->insertItem( tr("Test1:"), 2); | |
364 | int test1 = popup->insertItem( tr("Test1:"), 0); | ||
365 | 362 | ||
366 | ret = popup->exec( point ); | 363 | ret = popup->exec( point ); |
367 | qWarning("returned from exec() "); | 364 | qWarning("returned from exec() "); |
368 | if ( ret == -1 ) { | 365 | if ( ret == -1 ) { |