From 411ac6f9199b1aae2b6a40e7a8cf6bfea260acba Mon Sep 17 00:00:00 2001 From: zecke Date: Tue, 09 Jul 2002 18:28:19 +0000 Subject: Add a generic class for the sensitive QPopupMenu --- (limited to 'noncore/net/opietooth/manager/bluebase.cpp') diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index c29eb1a..85c6717 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -244,7 +244,7 @@ using namespace OpieTooth; * Add fresh found devices from scan dialog to the listing * */ - void BlueBase::addSearchedDevices( QValueList &newDevices ) { + void BlueBase::addSearchedDevices( const QValueList &newDevices ) { BTListItem * deviceItem; QValueList::ConstIterator it; @@ -434,8 +434,8 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin void BlueBase::startScan() { ScanDialog *scan = new ScanDialog( this, "ScanDialog", true, WDestructiveClose ); - QObject::connect( scan, SIGNAL( selectedDevices( QValueList& ) ), - this, SLOT( addSearchedDevices( QValueList& ) ) ); + QObject::connect( scan, SIGNAL( selectedDevices( const QValueList& ) ), + this, SLOT( addSearchedDevices( const QValueList& ) ) ); scan->showMaximized(); } -- cgit v0.9.0.2