summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox/files/virtualbox-4.0.2-restore_old_machines_dir.patch
blob: a79cd9027fd69200c2a92c5c5324386a4e06abab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- VirtualBox-4.0.2_OSE/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
+++ VirtualBox-4.0.2_OSE/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
@@ -1035,7 +1035,8 @@
         // new default with VirtualBox 4.0: "$HOME/VirtualBox VMs"
         HRESULT rc = getUserHomeDirectory(path);
         if (FAILED(rc)) return rc;
-        path += RTPATH_SLASH_STR "VirtualBox VMs";
+        path += RTPATH_SLASH_STR ".VirtualBox";
+        path += RTPATH_SLASH_STR "Machines";
     }
 
     if (!RTPathStartsWithRoot(path.c_str()))