Changeset View
Changeset View
Standalone View
Standalone View
src/core-impl/collections/db/sql/SqlCollectionLocation.cpp
Show First 20 Lines • Show All 472 Lines • ▼ Show 20 Line(s) | 472 | SqlCollectionLocation::copyUrlsToCollection( const QMap<Meta::TrackPtr, QUrl> &sources, | |||
---|---|---|---|---|---|
473 | const Transcoding::Configuration &configuration ) | 473 | const Transcoding::Configuration &configuration ) | ||
474 | { | 474 | { | ||
475 | DEBUG_BLOCK | 475 | DEBUG_BLOCK | ||
476 | m_sources = sources; | 476 | m_sources = sources; | ||
477 | 477 | | |||
478 | QString statusBarTxt = operationInProgressText( configuration, sources.count() ); | 478 | QString statusBarTxt = operationInProgressText( configuration, sources.count() ); | ||
479 | m_transferjob = new TransferJob( this, configuration ); | 479 | m_transferjob = new TransferJob( this, configuration ); | ||
480 | Amarok::Components::logger()->newProgressOperation( m_transferjob, statusBarTxt, this, | 480 | Amarok::Components::logger()->newProgressOperation( m_transferjob, statusBarTxt, this, | ||
481 | SLOT(slotTransferJobAborted()) ); | 481 | &SqlCollectionLocation::slotTransferJobAborted ); | ||
482 | connect( m_transferjob, &Collections::TransferJob::result, | 482 | connect( m_transferjob, &Collections::TransferJob::result, | ||
483 | this, &SqlCollectionLocation::slotTransferJobFinished ); | 483 | this, &SqlCollectionLocation::slotTransferJobFinished ); | ||
484 | m_transferjob->start(); | 484 | m_transferjob->start(); | ||
485 | } | 485 | } | ||
486 | 486 | | |||
487 | void | 487 | void | ||
488 | SqlCollectionLocation::removeUrlsFromCollection( const Meta::TrackList &sources ) | 488 | SqlCollectionLocation::removeUrlsFromCollection( const Meta::TrackList &sources ) | ||
489 | { | 489 | { | ||
▲ Show 20 Lines • Show All 296 Lines • Show Last 20 Lines |