VirtualBox

Changeset 77036 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 29, 2019 4:32:11 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128476
Message:

Guest Control/Main: Fixed the number of operations when copying from guest to the host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r76553 r77036  
    14731473        Utf8Str strFirstOp = mDest + mVecLists[0]->mVecEntries[0]->strPath;
    14741474        hr = pProgress->init(static_cast<IGuestSession*>(mSession), Bstr(mDesc).raw(),
    1475                              TRUE /* aCancelable */, cOperations + 1 /* Number of operations */,
    1476                              Bstr(strFirstOp).raw());
     1475                             TRUE /* aCancelable */, cOperations /* Number of operations */, Bstr(strFirstOp).raw());
    14771476    }
    14781477    else /* If no operations have been defined, go with an "empty" progress object when will be used for error handling. */
     
    17291728
    17301729        hr = pProgress->init(static_cast<IGuestSession*>(mSession), Bstr(mDesc).raw(),
    1731                              TRUE /* aCancelable */, cOperations + 1 /* Number of operations */,
     1730                             TRUE /* aCancelable */, cOperations /* Number of operations */,
    17321731                             Bstr(strFirstOp).raw());
    17331732    }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette