diff base/TempDirectory.cpp @ 733:b867c07478be

Simplify temporary directory path &c
author Chris Cannam
date Thu, 18 Aug 2011 11:36:23 +0100
parents 1424aa29ae95
children e802e550a1f2
line wrap: on
line diff
--- a/base/TempDirectory.cpp	Wed Aug 17 22:14:52 2011 +0100
+++ b/base/TempDirectory.cpp	Thu Aug 18 11:36:23 2011 +0100
@@ -72,7 +72,7 @@
     }
 
     if (!QFileInfo(svDir).exists()) {
-        if (!QDir(svDirParent).mkdir(svDir)) {
+        if (!QDir(svDirParent).mkpath(svDir)) {
             throw DirectoryCreationFailed(QString("%1 directory in %2")
                                           .arg(svDir).arg(svDirParent));
         }