summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore 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
@@ -344,10 +344,8 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin
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(),
@@ -359,10 +357,9 @@ 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 ) {