Changeset 56507 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 18, 2015 11:43:09 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.cpp
r56497 r56507 1504 1504 if (!dragAndDropIsActive()) 1505 1505 rc = VERR_ACCESS_DENIED; 1506 #ifdef VBOX_WITH_DRAG_AND_DROP_GH 1506 1507 else if (!m_fIsDraggingFromGuest) 1507 1508 { … … 1514 1515 else /* Already dragging, so report success. */ 1515 1516 rc = VINF_SUCCESS; 1517 #else 1518 rc = VERR_NOT_SUPPORTED; 1519 #endif 1516 1520 1517 1521 LogRel3(("DnD: dragCheckPending ended with rc=%Rrc\n", rc)); … … 1525 1529 if (!dragAndDropIsActive()) 1526 1530 rc = VERR_ACCESS_DENIED; 1531 #ifdef VBOX_WITH_DRAG_AND_DROP_GH 1527 1532 else if (!m_fIsDraggingFromGuest) 1528 1533 rc = VERR_WRONG_ORDER; … … 1535 1540 m_fIsDraggingFromGuest = false; 1536 1541 } 1542 #else 1543 rc = VERR_NOT_SUPPORTED; 1544 #endif 1537 1545 1538 1546 LogRel3(("DnD: dragStart ended with rc=%Rrc\n", rc)); … … 1546 1554 if (!dragAndDropIsActive()) 1547 1555 rc = VERR_ACCESS_DENIED; 1556 #ifdef VBOX_WITH_DRAG_AND_DROP_GH 1548 1557 else if (!m_fIsDraggingFromGuest) 1549 1558 rc = VERR_WRONG_ORDER; 1550 1559 else 1551 1560 rc = m_pDnDHandler->dragStop(screenId()); 1561 #else 1562 rc = VERR_NOT_SUPPORTED; 1563 #endif 1552 1564 1553 1565 LogRel3(("DnD: dragStop ended with rc=%Rrc\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.