From f2ecc05c1156ae0f99ea0528646609d63eaa84c0 Mon Sep 17 00:00:00 2001 From: harlekin Date: Tue, 18 Jun 2002 23:38:54 +0000 Subject: update --- (limited to 'noncore/net/opietooth/manager') diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index 4d476ac..22b16d2 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -2,7 +2,6 @@ * bluebase.cpp * * --------------------- * - * begin : Sun 10 17:20:00 CEST 2002 * copyright : (c) 2002 by Maximilian Reiß * email : max.reiss@gmx.de * @@ -301,7 +300,7 @@ namespace OpieTooth { void BlueBase::startScan() { ScanDialog *scan = new ScanDialog( this, "", true); - QObject::connect((QObject*)scan, SIGNAL( selectedDevices(QList&) ), + QObject::connect( scan, SIGNAL( selectedDevices(QList&) ), this, SLOT( addSearchedDevices(QList& ) )); scan->showMaximized(); diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp index bd7d23c..f8f7b15 100644 --- a/noncore/net/opietooth/manager/scandialog.cpp +++ b/noncore/net/opietooth/manager/scandialog.cpp @@ -147,6 +147,7 @@ namespace OpieTooth { } QList *deviceList = new QList; + deviceList->setAutoDelete(true); QListViewItemIterator it( ListView1 ); for ( ; it.current(); ++it ) { @@ -156,6 +157,7 @@ namespace OpieTooth { } } emit selectedDevices( *deviceList ); + delete deviceList; } /* -- cgit v0.9.0.2