VirtualBox

Changeset 50463 in vbox


Ignore:
Timestamp:
Feb 14, 2014 10:29:32 AM (11 years ago)
Author:
vboxsync
Message:

DnD: build fix and warnings

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r50400 r50463  
    53705370 VBOX_LIB_IPRT_GUEST_R0_NT4      = $(VBOX_LIB_IPRT_GUEST_R0)
    53715371endif
    5372 VBOX_LIB_VBGL_R3                 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3Lib$(VBOX_SUFF_LIB)
     5372VBOX_LIB_VBGL_R3                 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3Lib$(VBOX_SUFF_LIB) \
     5373                                   $(if $(VBOX_WITH_DRAG_AND_DROP),$(VBOX_PATH_ADDITIONS_LIB)/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB))
    53735374VBOX_LIB_VBGL_R3_XFREE86         = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3LibXFree86$(VBOX_SUFF_LIB)
    53745375VBOX_LIB_VBGL_R3_SHARED          = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3LibShared$(VBOX_SUFF_LIB)
     
    53815382 VBOX_LIB_VBGL_R3_SHARED_X86     = $(VBOX_LIB_VBGL_R3_SHARED)
    53825383else
    5383  VBOX_LIB_IPRT_GUEST_R3_X86      = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3-x86$(VBOX_SUFF_LIB)
     5384 VBOX_LIB_IPRT_GUEST_R3_X86      = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3-x86$(VBOX_SUFF_LIB) \
     5385                                   $(if $(VBOX_WITH_DRAG_AND_DROP),$(VBOX_PATH_ADDITIONS_LIB)//VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB))
    53845386 VBOX_LIB_IPRT_GUEST_R3_SHARED_X86 = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3Shared-x86$(VBOX_SUFF_LIB)
    53855387 VBOX_LIB_VBGL_R3_X86            = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3Lib-x86$(VBOX_SUFF_LIB)
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r50460 r50463  
    781781 VirtualBox_SOURCES += \
    782782        src/runtime/UIDnDHandler.cpp
    783  VirtualBox_QT_MOCSRCS += \
    784         src/runtime/UIDnDHandler.cpp
    785783 ifdef VBOX_WITH_DRAG_AND_DROP_GH
    786784  VirtualBox_SOURCES += \
  • trunk/src/VBox/HostServices/DragAndDrop/dndmanager.cpp

    r50460 r50463  
    499499
    500500        unsigned uPercentage = (unsigned)((uint64_t)pSelf->m_cbTransfered * 100 / pSelf->m_cbTotal);
    501         rc = pSelf->m_pfnProgressCallback(RT_CLAMP(uPercentage, 0, 100),
     501        rc = pSelf->m_pfnProgressCallback(RT_MIN(uPercentage, 100),
    502502                                          DragAndDropSvc::DND_PROGRESS_RUNNING,
    503503                                          VINF_SUCCESS /* rc */, pSelf->m_pvProgressUser);
  • trunk/src/VBox/HostServices/DragAndDrop/service.cpp

    r50460 r50463  
    470470        DragAndDropSvc::VBOXDNDCBHGEVTPROGRESSDATA data;
    471471        data.hdr.u32Magic = DragAndDropSvc::CB_MAGIC_DND_HG_EVT_PROGRESS;
    472         data.uPercentage  = RT_CLAMP(uPercentage, 0, 100);
     472        data.uPercentage  = RT_MIN(uPercentage, 100);
    473473        data.uState       = uState;
    474474        data.rc           = rc;
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