Changeset View
Changeset View
Standalone View
Standalone View
src/core-impl/collections/audiocd/AudioCdCollectionLocation.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | |||||
51 | 51 | | |||
52 | void AudioCdCollectionLocation::showSourceDialog( const Meta::TrackList &tracks, bool removeSources ) | 52 | void AudioCdCollectionLocation::showSourceDialog( const Meta::TrackList &tracks, bool removeSources ) | ||
53 | { | 53 | { | ||
54 | DEBUG_BLOCK | 54 | DEBUG_BLOCK | ||
55 | Q_UNUSED( tracks ) | 55 | Q_UNUSED( tracks ) | ||
56 | Q_UNUSED( removeSources ) | 56 | Q_UNUSED( removeSources ) | ||
57 | FormatSelectionDialog * dlg = new FormatSelectionDialog(); | 57 | FormatSelectionDialog * dlg = new FormatSelectionDialog(); | ||
58 | 58 | | |||
59 | connect( dlg, SIGNAL(formatSelected(int)), this, SLOT(onFormatSelected(int)) ); | 59 | connect( dlg, &FormatSelectionDialog::formatSelected, this, &AudioCdCollectionLocation::onFormatSelected ); | ||
60 | connect( dlg, SIGNAL(rejected()), this, SLOT(onCancel()) ); | 60 | connect( dlg, &FormatSelectionDialog::rejected, this, &AudioCdCollectionLocation::onCancel ); | ||
61 | 61 | | |||
62 | dlg->show(); | 62 | dlg->show(); | ||
63 | } | 63 | } | ||
64 | 64 | | |||
65 | void AudioCdCollectionLocation::formatSelected( int format ) | 65 | void AudioCdCollectionLocation::formatSelected( int format ) | ||
66 | { | 66 | { | ||
67 | Q_UNUSED( format ) | 67 | Q_UNUSED( format ) | ||
68 | } | 68 | } | ||
Show All 21 Lines |