Commit 8de09371 authored by Frerich Raabe's avatar Frerich Raabe

- Don't forget to create directories as necessary

svn path=/trunk/kdemultimedia/juk/; revision=248855
parent af7c6a00
......@@ -171,8 +171,10 @@ void FileRenamer::moveFile(const QString &src, const QString &dest)
processedComponents += "/" + *it;
kdDebug(65432) << "Checking path " << processedComponents << endl;
QDir dir(processedComponents);
if (!dir.exists())
if(!dir.exists()) {
dir.mkdir(processedComponents, true);
kdDebug(65432) << "Need to create " << processedComponents << endl;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment