Changeset 75903 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestFileTable.cpp
- Timestamp:
- Dec 3, 2018 1:03:37 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127107
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestFileTable.cpp
r75897 r75903 330 330 } 331 331 332 void UIGuestFileTable::copyHostToGuest(const QStringList &hostSourcePathList, bool fDeleteAfterSuccessfulCopy /* = false */,332 void UIGuestFileTable::copyHostToGuest(const QStringList &hostSourcePathList, 333 333 const QString &strDestination /* = QString() */) 334 334 { … … 357 357 return; 358 358 emit sigNewFileOperation(progress); 359 /* Cache the progress id and host source file objects' path in case of move operation. we will delete 360 * these when/if we receieve progress completed notification: */ 361 if (fDeleteAfterSuccessfulCopy) 362 emit sigCacheHostFileObjectsForDeletion(progress.GetId(), sourcePaths.toList()); 363 } 364 365 void UIGuestFileTable::copyGuestToHost(const QString& hostDestinationPath, bool fDeleteAfterSuccessfulCopy /* = false */) 359 } 360 361 void UIGuestFileTable::copyGuestToHost(const QString& hostDestinationPath) 366 362 { 367 363 if (!checkGuestSession()) … … 386 382 return; 387 383 emit sigNewFileOperation(progress); 388 /* Cache the progress id and source file objects' path in case of move operation. we will delete389 * these when/if we receieve progress completed notification: */390 if (fDeleteAfterSuccessfulCopy)391 m_deleteAfterCopyCache[progress.GetId()] = sourcePaths.toList();392 384 } 393 385
Note:
See TracChangeset
for help on using the changeset viewer.