Преглед на файлове

Changed mkdir to mkpath in AStandardPaths::scan_paths

George преди 4 години
родител
ревизия
682a7441c9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);
         }
     }
 }