Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lp1746325 : Fix empty deck can be played #1507

Merged
merged 1 commit into from
Feb 4, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/engine/cachingreaderworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ mixxx::AudioSourcePointer openAudioSourceForReading(const TrackPointer& pTrack,
} // anonymous namespace

void CachingReaderWorker::loadTrack(const TrackPointer& pTrack) {
// Emit that a new track is loading, stops the current track
emit(trackLoading());

ReaderStatusUpdate status;
status.status = TRACK_NOT_LOADED;

Expand All @@ -143,6 +140,9 @@ void CachingReaderWorker::loadTrack(const TrackPointer& pTrack) {
return;
}

// Emit that a new track is loading, stops the current track
emit(trackLoading());

QString filename = pTrack->getLocation();
if (filename.isEmpty() || !pTrack->exists()) {
// Must unlock before emitting to avoid deadlock
Expand Down