Changeset 56138 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 28, 2015 2:31:56 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDHandler.cpp
r56075 r56138 197 197 198 198 /* 199 * Since the mouse button has been release this in any case marks 200 * the end of the current transfer direction. So reset the current 201 * mode as well here. 202 */ 199 * Since the mouse button has been release this in any case marks 200 * the end of the current transfer direction. So reset the current 201 * mode as well here. 202 */ 203 203 m_enmMode = DNDMODE_UNKNOWN; 204 204 … … 318 318 #ifdef VBOX_WITH_DRAG_AND_DROP_GH 319 319 320 LogFlowFunc(("enmMode=%RU32, m_fIsPending=%RTbool, screenID=%RU32\n", m_enmMode, m_fIsPending, screenID));320 LogFlowFunc(("enmMode=%RU32, fIsPending=%RTbool, screenID=%RU32\n", m_enmMode, m_fIsPending, screenID)); 321 321 322 322 { … … 351 351 QVector<KDnDAction> vecActions; 352 352 KDnDAction defaultAction = m_dndSource.DragIsPending(screenID, vecFmtGuest, vecActions); 353 LogFlowFunc(("defaultAction=%d, numFormats=%d\n", defaultAction, vecFmtGuest.size())); 353 LogFlowFunc(("defaultAction=%d, numFormats=%d, numActions=%d\n", defaultAction, 354 vecFmtGuest.size(), vecActions.size())); 354 355 355 356 QStringList lstFmtNative; 356 357 if (defaultAction != KDnDAction_Ignore) 357 358 { 359 LogRel3(("DnD: Number of supported guest actions: %d\n", vecActions.size())); 360 for (int i = 0; i < vecActions.size(); i++) 361 LogRel3(("\tAction %d: 0x%x\n", i, vecActions.at(i))); 362 358 363 /** 359 364 * Do guest -> host format conversion, if needed. … … 363 368 * See: https://www.iana.org/assignments/media-types/media-types.xhtml 364 369 */ 365 LogRel3(("DnD: Number of guest formats: %d\n", vecFmtGuest.size()));370 LogRel3(("DnD: Number of supported guest formats: %d\n", vecFmtGuest.size())); 366 371 for (int i = 0; i < vecFmtGuest.size(); i++) 367 372 { … … 392 397 } 393 398 394 LogRel3(("DnD: Number of nativeformats: %d\n", lstFmtNative.size()));399 LogRel3(("DnD: Number of supported host formats: %d\n", lstFmtNative.size())); 395 400 for (int i = 0; i < lstFmtNative.size(); i++) 396 401 LogRel3(("\tFormat %d: %s\n", i, lstFmtNative.at(i).toAscii().constData())); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIDnDMIMEData.cpp
r55821 r56138 127 127 * operation state for us (based on the mouse buttons). */ 128 128 if (m_enmState != Dropped) 129 { 130 LogFlowFunc(("Not yet in 'dropped' state, so can't drop yet\n")); 129 131 fCanDrop = false; 132 } 130 133 #endif 131 134
Note:
See TracChangeset
for help on using the changeset viewer.