mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-28 10:30:38 +01:00
Only remove the temporary directory if it has a non-empty name.
This commit is contained in:
parent
4676e2839d
commit
3bf44c78d4
@ -454,6 +454,7 @@ void RipCD::InvertSelection() {
|
||||
}
|
||||
|
||||
void RipCD::RemoveTemporaryDirectory() {
|
||||
if (!temporary_directory_.isEmpty())
|
||||
Utilities::RemoveRecursive(temporary_directory_);
|
||||
temporary_directory_.clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user