1
0
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:
Mattias Andersson 2014-02-03 15:14:08 +01:00
parent 4676e2839d
commit 3bf44c78d4

View File

@ -454,6 +454,7 @@ void RipCD::InvertSelection() {
}
void RipCD::RemoveTemporaryDirectory() {
if (!temporary_directory_.isEmpty())
Utilities::RemoveRecursive(temporary_directory_);
temporary_directory_.clear();
}