Changeset 97787 in vbox
- Timestamp:
- Dec 12, 2022 6:07:59 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 154858
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDHandler.cpp
r97784 r97787 119 119 } 120 120 121 msgCenter().cannotDropDataToGuest(m_dndTarget, m_pParent); 121 122 return Qt::IgnoreAction; 122 123 } … … 142 143 return toQtDnDAction(result); 143 144 145 msgCenter().cannotDropDataToGuest(m_dndTarget, m_pParent); 144 146 return Qt::IgnoreAction; 145 147 } … … 266 268 267 269 m_dndTarget.Leave(screenID); 270 if (m_dndTarget.isOk()) 271 return; 272 273 msgCenter().cannotDropDataToGuest(m_dndTarget, m_pParent); 268 274 return; 269 275 } … … 429 435 430 436 #else /* !VBOX_WITH_DRAG_AND_DROP_GH */ 431 432 437 rc = VERR_NOT_SUPPORTED; 433 434 438 #endif /* VBOX_WITH_DRAG_AND_DROP_GH */ 435 439 … … 473 477 m_dataSource.defaultAction = m_dndSource.DragIsPending(screenID, vecFormats, m_dataSource.vecActions); 474 478 if (!m_dndSource.isOk()) 479 { 480 msgCenter().cannotDropDataToHost(m_dndSource, m_pParent); 475 481 return VERR_NO_DATA; 482 } 476 483 477 484 LogRelMax3(10, ("DnD: Default action is: 0x%x\n", m_dataSource.defaultAction));
Note:
See TracChangeset
for help on using the changeset viewer.