mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-03 13:30:26 +01:00
Finnish immideately if there are no tracks to rip
This commit is contained in:
parent
059b5ed04f
commit
2c084e45b6
@ -206,6 +206,11 @@ void Ripper::WriteWAVHeader(QFile* stream, int32_t i_bytecount) {
|
||||
}
|
||||
|
||||
void Ripper::Rip() {
|
||||
if (tracks_.isEmpty()) {
|
||||
emit Finished();
|
||||
return;
|
||||
}
|
||||
|
||||
temporary_directory_ = Utilities::MakeTempDir() + "/";
|
||||
finished_success_ = 0;
|
||||
finished_failed_ = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user