Explorar el Código

Changed mkdir to mkpath in AStandardPaths::scan_paths

George hace 4 años
padre
commit
682a7441c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/astandardpaths.cpp

+ 1 - 1
src/astandardpaths.cpp

@@ -22,7 +22,7 @@ void AStandardPaths::scan_paths()
         DEB "Scanning " << dir.path();
         if(!dir.exists()) {
             DEB"Creating " << dir.path();
-            dir.mkdir(path);
+            dir.mkpath(path);
         }
     }
 }