mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-01 11:56:45 +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() {
|
void Ripper::Rip() {
|
||||||
|
if (tracks_.isEmpty()) {
|
||||||
|
emit Finished();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
temporary_directory_ = Utilities::MakeTempDir() + "/";
|
temporary_directory_ = Utilities::MakeTempDir() + "/";
|
||||||
finished_success_ = 0;
|
finished_success_ = 0;
|
||||||
finished_failed_ = 0;
|
finished_failed_ = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user