Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/bluebase.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp index ff6981b..8ddc161 100644 --- a/noncore/net/opietooth/manager/bluebase.cpp +++ b/noncore/net/opietooth/manager/bluebase.cpp @@ -429,15 +429,16 @@ void BlueBase::startServiceActionHold( QListViewItem * item, const QPoint & poin } /** * Open the "scan for devices" dialog */ void BlueBase::startScan() { - ScanDialog *scan = new ScanDialog( this, "", true); - QObject::connect( scan, SIGNAL( selectedDevices( QList<RemoteDevice>& ) ), - this, SLOT( addSearchedDevices( QList<RemoteDevice>& ) ) ); + ScanDialog *scan = new ScanDialog( this, "ScanDialog", + true, WDestructiveClose ); + QObject::connect( scan, SIGNAL( selectedDevices( QValueList<RemoteDevice>& ) ), + this, SLOT( addSearchedDevices( QValueList<RemoteDevice>& ) ) ); scan->showMaximized(); } /** |