Changeset 57464 in vbox for trunk/src/VBox
- Timestamp:
- Aug 20, 2015 8:07:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/DragAndDrop/DnDURIList.cpp
r57372 r57464 60 60 if (RTFS_IS_FILE(objInfo.Attr.fMode)) 61 61 { 62 LogFlowFunc(("File '%s' -> '%s' (%RU64)\n", pcszSource, pcszTarget, (uint64_t)objInfo.cbObject)); 63 64 DnDURIObject *pObjFile= new DnDURIObject(DnDURIObject::File, pcszSource, pcszTarget); 62 LogFlowFunc(("File '%s' -> '%s' (%RU64 bytes, file mode 0x%x)\n", 63 pcszSource, pcszTarget, (uint64_t)objInfo.cbObject, objInfo.Attr.fMode)); 64 65 DnDURIObject *pObjFile = new DnDURIObject(DnDURIObject::File, pcszSource, pcszTarget); 65 66 if (pObjFile) 66 67 { … … 78 79 m_cbTotal += pObjFile->GetSize(); 79 80 } 81 else 82 delete pObjFile; 80 83 } 81 84 else … … 84 87 else if (RTFS_IS_DIRECTORY(objInfo.Attr.fMode)) 85 88 { 86 LogFlowFunc(("Directory '%s' -> '%s' \n", pcszSource, pcszTarget));87 88 DnDURIObject *pObjDir = new DnDURIObject(DnDURIObject::Directory, pcszSource, pcszTarget,89 objInfo.Attr.fMode, 0 /* Size */);89 LogFlowFunc(("Directory '%s' -> '%s' (file mode 0x%x)\n", pcszSource, pcszTarget, objInfo.Attr.fMode)); 90 91 DnDURIObject *pObjDir = new DnDURIObject(DnDURIObject::Directory, pcszSource, pcszTarget, 92 objInfo.Attr.fMode, 0 /* Size */); 90 93 if (pObjDir) 91 94 {
Note:
See TracChangeset
for help on using the changeset viewer.