mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Remove Boost - SrmDevice
converted SrmDevice to use signals instead of callback. Also add missing erase connections. Signed-off-by: Andy Bryson <agbryson@gmail.com>
This commit is contained in:
committed by
Mark Liversedge
parent
356a80a448
commit
5d1e67b5f5
@@ -416,6 +416,10 @@ DownloadRideDialog::eraseClicked()
|
||||
DevicesPtr devtype = Devices::getType(deviceCombo->currentText());
|
||||
DevicePtr device = devtype->newDevice( dev );
|
||||
|
||||
connect( device.data(), SIGNAL(updateStatus(QString)), this, SLOT(updateStatus(QString)));
|
||||
connect( this, SIGNAL(cancel()), device.data(), SLOT(cancelled()) );
|
||||
connect( device.data(), SIGNAL(updateProgress(QString)), this, SLOT(updateProgress(QString)));
|
||||
|
||||
QString err;
|
||||
if( device->cleanup( err) )
|
||||
updateStatus( tr("cleaned data") );
|
||||
|
||||
Reference in New Issue
Block a user