VirtualBox

Changeset 55244 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Apr 14, 2015 12:57:40 PM (10 years ago)
Author:
vboxsync
Message:

Main: Fixed DnD progress object creation; don't allow cancellation of transfers (yet).

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

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

    r55180 r55244  
    282282        rc = m_progress->init(static_cast<IGuest*>(pParent),
    283283                              Bstr(pParent->tr("Dropping data")).raw(),
    284                               TRUE);
     284                              FALSE /* fCancelable */);
    285285    }
    286286    return rc;
  • trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp

    r51799 r55244  
    432432        if (RT_SUCCESS(rc))
    433433        {
    434             /* Query the progress object to the caller. */
    435             if (aProgress)
    436                 pResp->queryProgressTo(aProgress.asOutParam());
     434            hr = pResp->queryProgressTo(aProgress.asOutParam());
     435            ComAssertComRC(hr);
    437436        }
    438437    }
Note: See TracChangeset for help on using the changeset viewer.

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