summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/scandialog.cpp
authorharlekin <harlekin>2002-06-18 23:38:54 (UTC)
committer harlekin <harlekin>2002-06-18 23:38:54 (UTC)
commitf2ecc05c1156ae0f99ea0528646609d63eaa84c0 (patch) (side-by-side diff)
tree8398f9cd9162ee8ca779369483aebba9a8681379 /noncore/net/opietooth/manager/scandialog.cpp
parentfac9ec9b389bc82d9d3027f801aaceea72c0d63e (diff)
downloadopie-f2ecc05c1156ae0f99ea0528646609d63eaa84c0.zip
opie-f2ecc05c1156ae0f99ea0528646609d63eaa84c0.tar.gz
opie-f2ecc05c1156ae0f99ea0528646609d63eaa84c0.tar.bz2
update
Diffstat (limited to 'noncore/net/opietooth/manager/scandialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/scandialog.cpp2
1 files changed, 2 insertions, 0 deletions
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<RemoteDevice> *deviceList = new QList<RemoteDevice>;
+ deviceList->setAutoDelete(true);
QListViewItemIterator it( ListView1 );
for ( ; it.current(); ++it ) {
@@ -156,6 +157,7 @@ namespace OpieTooth {
}
}
emit selectedDevices( *deviceList );
+ delete deviceList;
}
/*